Skip to content

Commit

Permalink
Fix the documentation of the metrics setting (#10978)
Browse files Browse the repository at this point in the history
  • Loading branch information
L3n41c authored and cswatt committed Jan 5, 2022
1 parent a8bf0d5 commit 4ff70dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmetrics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ For each instance the following parameters are required:
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `openmetrics_endpoint` | The URL where your application metrics are exposed by Prometheus (must be unique). |
| `namespace` | The namespace to prepend to all metrics. |
| `metrics` | A list of metrics to retrieve as custom metrics. Add each metric to the list as `metric_name` or `metric_name: renamed` to rename it. Use `*` as a wildcard (`metric*`) to fetch all matching metrics. **Note**: Wildcards can potentially send a lot of custom metrics. |
| `metrics` | A list of metrics to retrieve as custom metrics. Add each metric to the list as `metric_name` or `metric_name: renamed` to rename it. The metrics are interpreted as regular expressions. Use `.*` as a wildcard (`metric.*`) to fetch all matching metrics. **Note**: Regular expressions can potentially send a lot of custom metrics. |

**Note**: This is a new default OpenMetrics check example. If you previously implemented this integration, see the [legacy example][5].

Expand Down

0 comments on commit 4ff70dd

Please sign in to comment.