mirror of
https://github.com/outbackdingo/xmidt.git
synced 2026-08-25 14:53:55 +00:00
otel collector configs
This commit is contained in:
@@ -0,0 +1,34 @@
|
|||||||
|
receivers:
|
||||||
|
otlp:
|
||||||
|
# Protocols defines the protocols enabled for this receiver. At least one protocol of choice must
|
||||||
|
# be enabled.
|
||||||
|
protocols:
|
||||||
|
# The presence of the http section enables the HTTP server on the default port (4318)
|
||||||
|
http:
|
||||||
|
|
||||||
|
# The presence of the gRPC section enables the gRPC server on the default port (4317)
|
||||||
|
grpc:
|
||||||
|
|
||||||
|
processors:
|
||||||
|
batch:
|
||||||
|
# Datadog APM Intake limit is 3.2MB. Let's make sure the batches do not go over that.
|
||||||
|
send_batch_max_size: 1000
|
||||||
|
send_batch_size: 100
|
||||||
|
timeout: 10s
|
||||||
|
|
||||||
|
exporters:
|
||||||
|
datadog/api:
|
||||||
|
hostname: "tr1d1um-local"
|
||||||
|
api:
|
||||||
|
key:
|
||||||
|
|
||||||
|
service:
|
||||||
|
pipelines:
|
||||||
|
metrics:
|
||||||
|
receivers: [ otlp]
|
||||||
|
processors: [batch]
|
||||||
|
exporters: [datadog/api]
|
||||||
|
traces:
|
||||||
|
receivers: [otlp]
|
||||||
|
processors: [batch]
|
||||||
|
exporters: [datadog/api]
|
||||||
@@ -21,7 +21,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- argus
|
- argus
|
||||||
environment:
|
environment:
|
||||||
- "CONSUL_HOST=consul0:8500"
|
- "CONSUL_HOST=consul00:8500"
|
||||||
- "ARGUS_HOST=http://argus:6600"
|
- "ARGUS_HOST=http://argus:6600"
|
||||||
image: "ghcr.io/xmidt-org/caduceus:${CADUCEUS_VERSION}"
|
image: "ghcr.io/xmidt-org/caduceus:${CADUCEUS_VERSION}"
|
||||||
networks:
|
networks:
|
||||||
@@ -190,4 +190,17 @@ services:
|
|||||||
- xmidt
|
- xmidt
|
||||||
ports:
|
ports:
|
||||||
- "9411:9411"
|
- "9411:9411"
|
||||||
|
otel-collector:
|
||||||
|
image: otel/opentelemetry-collector-contrib
|
||||||
|
command: ["--config=/etc/otel-collector-config.yaml"]
|
||||||
|
volumes:
|
||||||
|
- ./docFiles/otel-collector-config.yaml:/etc/otel-collector-config.yaml
|
||||||
|
ports:
|
||||||
|
- "1888:1888" # pprof extension
|
||||||
|
- "8888:8888" # Prometheus metrics exposed by the collector
|
||||||
|
- "8889:8889" # Prometheus exporter metrics
|
||||||
|
- "13133:13133" # health_check extension
|
||||||
|
- "4317:4317" # OTLP gRPC receiver
|
||||||
|
- "4318:4318" # OTLP http receiver
|
||||||
|
- "55679:55679" # zpages extension
|
||||||
version: "3.8"
|
version: "3.8"
|
||||||
|
|||||||
Reference in New Issue
Block a user