i am getting issue when i use this in exporter
# support
a
i am getting issue when i use this in exporter
k
We can't help much without knowing what the issue or error actually is or the full config file. More information please. The snippet you posted wont do anything without receivers and exporters defined. Here is a sample otel config that works in our production environments. If this doesn't work for you, the issue is something else.
Copy code
receivers:
  otlp:
    protocols:
      grpc:
        endpoint: 0.0.0.0:4317
      http:
        endpoint: 0.0.0.0:4318
  filelog:
    include:
      - /var/log/nginx/access.log
      - /var/log/nginx/error.log

processors:
  resource:
    attributes:
      - key: deployment.environment
        value: production
        action: upsert
      - key: service.name
        value: myapp
        action: upsert
  resourcedetection:
    detectors: [env, system, ec2]
    timeout: 2s
    system:
      hostname_sources: [os]
  batch:
    send_batch_size: 1000
    timeout: 5s

extensions:
  health_check: {}
  zpages: {}

exporters:
  otlp:
    endpoint: "SIGNOZ_OP:PORT"
    tls:
      insecure: true
    timeout: 5s

service:
  extensions: [health_check, zpages]
  pipelines:
    metrics:
      receivers: [otlp]
      processors: [resource, resourcedetection, batch]
      exporters: [otlp]
    traces:
      receivers: [otlp]
      processors: [resource, resourcedetection, batch]
      exporters: [otlp]
    logs:
      receivers: [otlp, filelog]
      processors: [resource, resourcedetection, batch]
      exporters: [otlp]