mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
feat: add health check extension to OTel collector configuration
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
# This tempate file will be passed to gomplate to generate the final configuration file.
|
||||
|
||||
extensions:
|
||||
health_check:
|
||||
endpoint: "0.0.0.0:13133"
|
||||
path: "/health/status"
|
||||
headers_setter:
|
||||
headers:
|
||||
- action: upsert
|
||||
@@ -81,7 +84,7 @@ service:
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
extensions: [ headers_setter ]
|
||||
extensions: [ headers_setter, health_check ]
|
||||
pipelines:
|
||||
traces:
|
||||
receivers: [otlp]
|
||||
|
||||
@@ -409,7 +409,7 @@ services:
|
||||
options:
|
||||
max-size: "1000m"
|
||||
ports:
|
||||
- 8810:8810
|
||||
- 13133:13133 # Otel Collector Health Check Endpoint at /heath/status
|
||||
|
||||
fluentd:
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user