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

Flow: allow receiving remote_write metrics over HTTP #2780

Closed
rfratto opened this issue Jan 19, 2023 · 1 comment · Fixed by #3753
Closed

Flow: allow receiving remote_write metrics over HTTP #2780

rfratto opened this issue Jan 19, 2023 · 1 comment · Fixed by #3753
Assignees
Labels
flow Related to Grafana Agent Flow frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Milestone

Comments

@rfratto
Copy link
Member

rfratto commented Jan 19, 2023

The static mode supports sending metrics over HTTP to a metrics instance, but there is no Flow equivalent for this yet.

I see two paths:

  1. Add an API endpoint for prometheus.remote_write that allows external processes to send metrics to it over the network (i.e., /components/prometheus.remote_write.default/remote_write)
  2. Create a new component dedicated to receiving metrics over the network, which would allow it to be chained into other components for processing.

Option 2 is probably immediately preferable for its increased flexibility.

@rfratto rfratto added flow/feature-parity flow Related to Grafana Agent Flow labels Jan 19, 2023
@rfratto rfratto added this to the v0.33.0 milestone Feb 28, 2023
@thampiotr thampiotr self-assigned this Apr 17, 2023
@rfratto rfratto modified the milestones: v0.33.0, v0.34.0 Apr 26, 2023
@thampiotr thampiotr moved this from Todo to In Progress in Grafana Agent (Public) Apr 27, 2023
@thampiotr
Copy link
Contributor

Proposing to take path 2 and the component to be called prometheus.source.api.

@github-project-automation github-project-automation bot moved this from In Progress to Done in Grafana Agent (Public) May 10, 2023
@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Feb 21, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
flow Related to Grafana Agent Flow frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants