Skip to content

Commit

Permalink
docs: add note about metric name transformation (#1374)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
  • Loading branch information
beeme1mr authored Aug 19, 2024
1 parent 239a432 commit 871c749
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/reference/monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,20 @@ Given below is the current implementation overview of flagd telemetry internals,

## Metrics

flagd expose following metrics,
flagd exposes the following metrics:

- `http.server.duration`
- `http.server.response.size`
- `http.server.active_requests`
- `feature_flag.flagd.impression`
- `feature_flag.flagd.evaluation.reason`

> Please note that metric names may vary based on the consuming monitoring tool naming requirements.
> For example, the transformation of OTLP metrics to Prometheus is described [here](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/compatibility/prometheus_and_openmetrics.md#otlp-metric-points-to-prometheus).
## Traces

flagd expose following traces,
flagd creates the following spans as part of a trace:

- `flagEvaluationService(resolveX)` - SpanKind server
- `jsonEvaluator(resolveX)` - SpanKind internal
Expand Down

0 comments on commit 871c749

Please sign in to comment.