OTLP
Use this page when you point an application or a collector at FuseScope and need the address and port to send to.
FuseScope ingests telemetry through the FuseScope OpenTelemetry collector, which listens for OTLP, the OpenTelemetry protocol, on two ports:
| Protocol | Port | Endpoint inside the cluster |
|---|---|---|
| OTLP gRPC | 4317 | fusescope-otel-collector.<namespace>.svc.cluster.local:4317 |
| OTLP/HTTP | 4318 | http://fusescope-otel-collector.<namespace>.svc.cluster.local:4318 |
The service name assumes the Helm release is named fusescope. The collector also accepts
Jaeger Thrift over HTTP on port 14268.
From an application
Section titled “From an application”OpenTelemetry SDKs read the standard exporter environment variables:
OTEL_SERVICE_NAME=checkoutOTEL_RESOURCE_ATTRIBUTES=deployment.environment=productionOTEL_EXPORTER_OTLP_ENDPOINT=http://fusescope-otel-collector.fusescope.svc.cluster.local:4318OTEL_EXPORTER_OTLP_PROTOCOL=http/protobufFor gRPC, use port 4317 and OTEL_EXPORTER_OTLP_PROTOCOL=grpc.
service.name names the service in APM and traces; deployment.environment lets you
filter by environment.
From another collector
Section titled “From another collector”Forward from an OpenTelemetry Collector you already run with the otlphttp exporter:
exporters: otlphttp: endpoint: http://fusescope-otel-collector.fusescope.svc.cluster.local:4318
service: pipelines: traces: receivers: [otlp] exporters: [otlphttp] metrics: receivers: [otlp] exporters: [otlphttp] logs: receivers: [otlp] exporters: [otlphttp]From outside the cluster
Section titled “From outside the cluster”Expose OTLP/HTTP with the chart’s collector ingress:
otelCollector: ingress: enabled: true className: nginx annotations: cert-manager.io/cluster-issuer: letsencrypt-prod hosts: - host: otlp.example.com paths: - path: / pathType: ImplementationSpecific port: 4318 tls: - secretName: otlp-example-com-tls hosts: - otlp.example.comApplications then use OTEL_EXPORTER_OTLP_ENDPOINT=https://otlp.example.com.
To expose OTLP gRPC through ingress-nginx instead, point the ingress at port 4317 and add
the nginx.ingress.kubernetes.io/backend-protocol: "GRPC" annotation.