Skip to content

Support for probe params #6832

Description

@MatthiasDrewsCS

Component(s)

prometheus.operator.probes

Request

Alloy seems to have no support for probe params:
https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.Probe

Instead the scraped URL only contains the specified module:
https://github.com/grafana/alloy/blob/main/internal/component/prometheus/operator/configgen/config_gen_probe.go#L52-L55

This is unexpected from a user perspective, and should be improved, to improve compliance with the Probe spec

Use case

My probe is pointing to a statuspage-exporter, which supports a "filter" parameter, to only expose a subset of the statuspage components. Currently all components are scraped by the probe, as the "filter" parameter is not used in the request from alloy to the statuspage-exporter.

AI disclosure

  • This issue was substantially generated with AI assistance.

Tip

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions