SigNoz / charts

Helm Charts for SigNoz
MIT License
75 stars 76 forks source link

signoz-0.32.2 otel agent does not collect host metrics #386

Open lerlacher-fm opened 9 months ago

lerlacher-fm commented 9 months ago

Hello,

I've done a mostly vanilla install of signoz through helm on a self-hosted kubernetes cluster.

The signoz docs suggest that host metrics should be collected: https://signoz.io/docs/tutorial/kubernetes-infra-metrics/#list-of-metrics

However, while the k8s* metrics are collected, I can't find any system* metrics in signoz.

The opentelemetry docs suggest that the host rootfs needs to be mounted into the container: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/hostmetricsreceiver/README.md#collecting-host-metrics-from-inside-a-container-linux-only

I can't see any way to pass the required config for this to the helm chart.

Is this supposed to be supported?

srikanthccv commented 8 months ago

You can use override-values.yaml to customize the config.

grandwizard28 commented 1 month ago

Hi @lerlacher-fm, We have a dedicated preset for hostmetrics as follows:

  hostMetrics:
    enabled: true
    collectionInterval: 30s
    scrapers:
      cpu: {}
      load: {}
      memory: {}
      disk: {}
      filesystem: {}
      network: {}

This should allow to start sending hostmetrics as well!

grandwizard28 commented 5 days ago

Hi @lerlacher-fm, Were you able to give the above a try?