Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions openmetrics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,18 @@ By default, the integration skips metrics that come without a type on a Promethe
"type": "gauge"
```

If you are collecting metrics through annotations, refer to the following example:

```json
"metrics": [
{
"<NAME_OF_METRIC_WITHOUT_TYPE>": {
"type": "gauge"
}
}
]
```

Remember that metric names can be specified as regular expressions, making it possible to specify the type for a set of metrics without listing all of them individually.

### Errors parsing the OpenMetrics payload with Agent 7.46
Expand Down
Loading