https://signoz.io logo
#support
Title
# support
s

Sudhansu Bandha

09/09/2023, 10:49 AM
hello all,
Copy code
apiVersion: <http://opentelemetry.io/v1alpha1|opentelemetry.io/v1alpha1>
kind: OpenTelemetryCollector
metadata:
  name: sidecar-collector
spec:
  mode: sidecar
  config: |
    receivers:
      otlp:
        protocols:
          http:
          grpc:
    processors:
      batch:
    exporters:
      logging:
      otlp:
        endpoint: <http://signals-collector.qualix.ai:4317>
        tls:
          insecure: true
    service:
      pipelines:
        traces:
          receivers: [otlp]
          processors: [batch]
          exporters: [logging, otlp]
        metrics:
          receivers: [otlp]
          processors: [batch]
          exporters: [logging, otlp]
the mentioned configuration is used to send telemetry data to signoz otel collector where signoz setup is performed at a different K8s cluster . I need to find the reason for which this setup is failing. Currently unable to figure out why this is failing. Implemented the spring petclininc app for sidecar following the documentation. If I try to send telementry data using the go command for telemetrygen along with the mentioned exporter DNS for signoz otel collector it is working
Copy code
telemetrygen traces --traces 1 --otlp-endpoint <http://signals-collector.qualix.ai:4317|signals-collector.qualix.ai:4317> --otlp-insecure
p

Prashant Shahi

09/09/2023, 6:33 PM
Hi @Sudhansu Bandha 👋 Can you try the following instead for
otlp
exporter configuration?
Copy code
endpoint: <http://signals-collector.qualix.ai:4317|signals-collector.qualix.ai:4317>
    tls:
      insecure: true
s

Sudhansu Bandha

09/11/2023, 1:17 AM
Hi @Prashant Shahi I implemented the suggested change but I am still unable to send data from the spring-petclinic sidecar app
Copy code
apiVersion: <http://opentelemetry.io/v1alpha1|opentelemetry.io/v1alpha1>
kind: OpenTelemetryCollector
metadata:
  name: sidecar-collector
spec:
  mode: sidecar
  config: |
    receivers:
      otlp:
        protocols:
          http:
          grpc:
    processors:
      batch:
    exporters:
      logging:
      otlp:
        endpoint: <http://signals-collector.qualix.ai:4317|signals-collector.qualix.ai:4317>
        tls:
          insecure: true
    service:
      pipelines:
        traces:
          receivers: [otlp]
          processors: [batch]
          exporters: [logging, otlp]
        metrics:
          receivers: [otlp]
          processors: [batch]
          exporters: [logging, otlp]
p

Prashant Shahi

09/11/2023, 8:56 AM
@Sudhansu Bandha Can you check logs of the spring-petclinic and sidecar-collector containers?
Also, did you play around the petclinic app to generate traces?
3 Views