This message was deleted.
# support
s
This message was deleted.
s
Except, you need to add this is your OTel deployment in k8s-infra
e
That article suggests that it is connecting to a prometheus server, I don't have one and am hoping to just get data from a
/metrics
endpoint piped into SigNoz so I can chart it on a dashboard
For example, I'm running Redis from a Bitnami chart and I have flipped this to true: https://github.com/bitnami/charts/blob/main/bitnami/redis/values.yaml#L1571 I would like to be able to pipe that data into SigNoz
I used this values-overrides.yaml file when installing (and upgrading) signoz:
Copy code
otelCollector:
  config:
    receivers:
      prometheus:
        config:
          global:
            scrape_interval: 15s # Adjust this interval as needed
          scrape_configs:
            - job_name: 'test_redis'
              static_configs:
                - targets: ['redis.dev.svc.cluster.local:8001'] # Adjust the Prometheus address and port
    service:
      pipelines:
        metrics:
          receivers: [otlp, prometheus]
          processors: [batch]
          exporters: [clickhousemetricswrite]
s
That article doesn't talk about the Prometheus server. It is about Prometheus receiver and as seen in your config it should either start collecting or show error if it failed to collect
e
And I'm getting this warning in the otel-collector logs:
Copy code
2024-02-15T00:01:57.928Z        warn    clickhousemetricsexporter/exporter.go:244       Dropped histogram metric with no 
data points     {"kind": "exporter", "data_type": "metrics", "name": "clickhousemetricswrite", "name": "signoz_latency"}
s
That is harmless warning
e
ok, it looked harmless
s
If you don't see any other scrape related issues then it means metrics are being scraped.
e
I don't, just that warning ever 15s or so
ok, so when I go into the dashboard and try to look for
test_redis
metrics, nothing shows up
I have also tried to run
select DISTINCT(JSONExtractString(time_series_v2.labels,'__name__')) as metrics from signoz_metrics.distributed_time_series_v2
in the ClickHouse query and it just 400s
s
The job name won't show up. Look for one of metric names.
e
hmmm, ok
OK, I think I have a handle on what is going on. The metrics are being shipped and SigNoz can query them. Thank you