Semconv OTLP stable HTTP metrics
This commit is contained in:
parent
709ff6fb09
commit
6c9687f410
44 changed files with 803 additions and 432 deletions
|
@ -15,6 +15,17 @@
|
|||
[entryPoints.web]
|
||||
address = ":8000"
|
||||
|
||||
# Adding metrics to confirm that there is no wrong interaction with tracing.
|
||||
[metrics]
|
||||
{{if .IsHTTP}}
|
||||
[metrics.otlp.http]
|
||||
endpoint = "http://{{.IP}}:4318"
|
||||
{{else}}
|
||||
[metrics.otlp.grpc]
|
||||
endpoint = "{{.IP}}:4317"
|
||||
insecure = true
|
||||
{{end}}
|
||||
|
||||
[tracing]
|
||||
servicename = "tracing"
|
||||
sampleRate = 1.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue