feat: allow setting service.name for OTLP metrics
This commit is contained in:
parent
7bb181dfa0
commit
eccfcc0924
9 changed files with 202 additions and 143 deletions
|
@ -429,6 +429,9 @@ TLS key
|
|||
`--metrics.otlp.pushinterval`:
|
||||
Period between calls to collect a checkpoint. (Default: ```10```)
|
||||
|
||||
`--metrics.otlp.servicename`:
|
||||
OTEL service name to use. (Default: ```traefik```)
|
||||
|
||||
`--metrics.prometheus`:
|
||||
Prometheus metrics exporter type. (Default: ```false```)
|
||||
|
||||
|
|
|
@ -429,6 +429,9 @@ TLS key
|
|||
`TRAEFIK_METRICS_OTLP_PUSHINTERVAL`:
|
||||
Period between calls to collect a checkpoint. (Default: ```10```)
|
||||
|
||||
`TRAEFIK_METRICS_OTLP_SERVICENAME`:
|
||||
OTEL service name to use. (Default: ```traefik```)
|
||||
|
||||
`TRAEFIK_METRICS_PROMETHEUS`:
|
||||
Prometheus metrics exporter type. (Default: ```false```)
|
||||
|
||||
|
|
|
@ -342,6 +342,7 @@
|
|||
addServicesLabels = true
|
||||
explicitBoundaries = [42.0, 42.0]
|
||||
pushInterval = "42s"
|
||||
serviceName = "foobar"
|
||||
[metrics.otlp.grpc]
|
||||
endpoint = "foobar"
|
||||
insecure = true
|
||||
|
|
|
@ -402,6 +402,7 @@ metrics:
|
|||
- 42
|
||||
- 42
|
||||
pushInterval: 42s
|
||||
serviceName: foobar
|
||||
ping:
|
||||
entryPoint: foobar
|
||||
manualRouting: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue