Instrument Applications
Configure instrumented applications to send OTLP metrics to the Collector.
Use an OpenTelemetry SDK or automatic instrumentation for your application's language. Send telemetry to the Collector, not directly to the Entropus Prometheus remote-write URL.
Configure OTLP export
Most OpenTelemetry SDKs recognize these environment variables:
export OTEL_SERVICE_NAME="checkout-api"
export OTEL_RESOURCE_ATTRIBUTES="deployment.environment=production,service.version=1.0.0"
export OTEL_EXPORTER_OTLP_ENDPOINT="http://otel-collector:4318"
export OTEL_EXPORTER_OTLP_PROTOCOL="http/protobuf"
export OTEL_METRICS_EXPORTER="otlp"
export OTEL_TRACES_EXPORTER="none"
export OTEL_LOGS_EXPORTER="none"Replace otel-collector with the Collector hostname available to the application. For a Collector running on the same machine, use http://localhost:4318.
The example disables trace and log export because this integration configures only the Entropus metrics pipeline. Add separate Collector pipelines only when you have the corresponding signal endpoints.
Identify services consistently
Set a unique service.name for every deployable application. Add resource attributes that help operators filter and group metrics, such as:
deployment.environmentservice.versionservice.namespacecloud.region
Keep attribute values stable and avoid placing user IDs, request IDs, or other high-cardinality values in metric attributes.
Restart the application
Restart or redeploy the application after changing its OpenTelemetry configuration. Confirm that it can reach the Collector on the selected OTLP port.
Next step
Verify the integration in the Collector and Entropus.