Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lerlacher-fm opened this issue Jan 22, 2024 · 3 comments
Open

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

lerlacher-fm opened this issue Jan 22, 2024 · 3 comments
Assignees
Labels
chart:k8s-infra Issue related to k8s-infra helm chart question Further information is requested

Comments

@lerlacher-fm
Copy link

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
Copy link
Member

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

@grandwizard28
Copy link
Contributor

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 grandwizard28 added the question Further information is requested label Sep 19, 2024
@grandwizard28 grandwizard28 self-assigned this Sep 19, 2024
@grandwizard28 grandwizard28 added the chart:k8s-infra Issue related to k8s-infra helm chart label Oct 13, 2024
@grandwizard28
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chart:k8s-infra Issue related to k8s-infra helm chart question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants