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

Request for pushing metrics to pushgateway #679

Open
polohuang opened this issue Sep 1, 2022 · 2 comments
Open

Request for pushing metrics to pushgateway #679

polohuang opened this issue Sep 1, 2022 · 2 comments
Labels
enhancement This is considered a feature request, not currently guaranteed by the code or design today mtail-Operating Issues related to deploying and running mtail

Comments

@polohuang
Copy link

polohuang commented Sep 1, 2022

Hi there, i see there are only statsd, graphite and collectd that can send the metrics to remote datasource.
Is there a chance to add pushgateway for it?

Thanks!

@jaqx0r
Copy link
Contributor

jaqx0r commented Sep 1, 2022 via email

@polohuang
Copy link
Author

polohuang commented Oct 5, 2022

Like this,

cat <<EOF | curl --data-binary @- http://pushgateway.example.org:9091/metrics/job/some_job/instance/some_instance
# TYPE some_metric counter
some_metric{label="val1"} 42
# TYPE another_metric gauge
# HELP another_metric Just an example.
another_metric 2398.283
EOF

@jaqx0r jaqx0r added enhancement This is considered a feature request, not currently guaranteed by the code or design today mtail-Operating Issues related to deploying and running mtail labels Jan 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is considered a feature request, not currently guaranteed by the code or design today mtail-Operating Issues related to deploying and running mtail
Projects
None yet
Development

No branches or pull requests

2 participants