Skip to content
This repository was archived by the owner on Jul 28, 2026. It is now read-only.
This repository was archived by the owner on Jul 28, 2026. It is now read-only.

Documentation feedback: /docs/sources/flow/reference/components/prometheus.exporter.cadvisor.md Very low on details #7175

Description

@Liquidmasl

Hi there,

I currently try to figure out how to whitelist container labels. The documentation is quite light here.

In some other places labels have to be defined with underscores instead of dots, this the case here as well? How should a config look like?

using

prometheus.exporter.cadvisor "integrations_cadvisor" {
	docker_only                  = true
	store_container_labels       = false
	allowlisted_container_labels = ["com.docker.compose.project", "com.docker.compose.service"]
}

does not seam to work, I still get all labels in grafana...
The labels are named docker_labels_com_docker_compose_... in grafana.. this the format it needs to be given? But then; using a whitelist, no labels should show up with my current setup right?
There is also ne debugging information, which makes this quite an annoying thing to find out!

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-attentionAn issue or PR has been sitting around and needs attention.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions