#support

Centralizing SigNoz Otel Collector across Multiple Clusters

TLDR Shravan is trying to centralize their Signoz Otel collector across AWS, Azure, and GCP. Srikanth offers insights and sample configurations, though they do not reach a definitive resolution.

Powered by Struct AI
Jul 30, 2023 (4 months ago)
Shravan
Photo of md5-23d9a9ef8569484aba646a65ec1dc58f
Shravan
12:44 PM
Hi
We have setup centralised signoz for different clusters deployed over AWS, Azure and GCP
k8s-infra is setup in each cluster and getting logs and k8s metrics

Now we have enabled Prometheus in our applications on our clusters but we don't want to expose the metrics publicly for Central Signoz Otel collector

How to setup signoz-otel collector in each cluster and forward the data to central Signoz Otel collector
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
01:46 PM
Set up a pipeline that collects the metrics within your cluster and exports to SigNoz using OTLP exporter similar how you are doing with other logs and k8s metrics.
Shravan
Photo of md5-23d9a9ef8569484aba646a65ec1dc58f
Shravan
02:07 PM
Srikanth can you share sample config for this
03:13
Shravan
03:13 PM
Is this correct k8s-infra-values-override.yaml
global:
  clusterName: "stage"
  cloud: gcp
k8s-infra:
presets:
  logsCollection:
    enabled: true

otelAgent:
  receivers:
    prometheus:
      config:
      scrape_configs:
        - job_name: "my-app-metrics"
          scrape_interval: 30s
          static_configs:
            - targets: ["10.0.12.12:1234"]
  service:
    pipelines:
      metrics:
        receivers: [otlp,prometheus]
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
03:56 PM
Yes, assuming you have otlp exporter in the final values
Jul 31, 2023 (4 months ago)
Shravan
Photo of md5-23d9a9ef8569484aba646a65ec1dc58f
Shravan
02:10 PM
Image 1 for <@4K1456> otlp is from default values.xml
<https://github.com/SigNoz/charts/blob/main/charts/k8s-infra/values.yaml>
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
02:44 PM
I am talking about the otlp exporter
02:44
Srikanth
02:44 PM
And in the context of metrics.

SigNoz Community

Built with ClickHouse as datastore, SigNoz is an open-source APM to help you find issues in your deployed applications & solve them quickly | Knowledge Base powered by Struct.AI

Indexed 1023 threads (61% resolved)

Join Our Community