Skip to content

Autodiscovery of Prometheus endpoints for scraping #2303

Description

@binarylogic

Feedback from our chat

  • 90% of prometheus endpoints require autodiscovery (various orchestration systems like k8s, etc - most used cases) and it's not supported in vector.
  • in most of cases it's better to use native collectors (or compatible ones like https://github.com/VictoriaMetrics/VictoriaMetrics/tree/master/app/vmagent) and receive benefits - delivery guarantees, deduplication etc. (especially considering that vector native proto does not have delivery guarantees so far)

I tend to agree. This would be a really nice feature for anyone using Prometheus, but it's not easy either :). For reference, here's the Prometheus configuration. Notice all of the cloud settings that enable autodiscovery.

We definitely need to discuss how we can reduce scope of this feature.

/cc @afoninsky

Metadata

Metadata

Assignees

No one assigned

    Labels

    have: shouldWe should have this feature, but is not required. It is medium priority.meta: feedbackAnything related to customer/user feedback.needs: approvalNeeds review & approval before work can begin.needs: requirementsNeeds a a list of requirements before work can be beginsource: prometheus_scrapeAnything `prometheus_scrape` source related
    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions