Skip to content

Observability

Devendra edited this page Sep 12, 2022 · 3 revisions

How to extract open-telemetry data/metrics from our application, This is also know as auto instrumentation:

  1. For java Based application:
  2. Quarkus based application:
    • Below are the properties need to be set in quarkus based application
      quarkus.application.name=myservice 
      quarkus.opentelemetry.enabled=true 
      quarkus.opentelemetry.tracer.exporter.otlp.endpoint=http://<IP of SigNoz Backend>:4317 
      quarkus.log.console.format=%d{HH:mm:ss} %-5p traceId=%X{traceId}, parentId=%X{parentId}, spanId=%X{spanId}, sampled=%X{sampled} [%c{2.}] 
      (%t) %s%e%n 
      quarkus.http.access-log.pattern="...traceId=%{X,traceId} spanId=%{X,spanId}" 
  3. Python based application:

Clone this wiki locally