We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
rpk generate
Following #5501 :
We want the option to add labels to the generated prometheus scrape_config via rpk, so:
$ rpk generate prometheus-config --seed-addr localhost:9092 --job-name redpanda-node --add-label cluster-id:cluster-a --public-metrics
will generate
- job_name: redpanda-node static_configs: - targets: - localhost:9644 labels: - cluster-id: cluster-a metrics_path: /metrics - job_name: redpanda-node-public static_configs: - targets: - localhost:9644 labels: - cluster-id: cluster-a metrics_path: /public_metrics
The text was updated successfully, but these errors were encountered:
Look like this fixes this ask #5548 ?
Sorry, something went wrong.
Oh, it's duplicated. I'm closing this one.
No branches or pull requests
Following #5501 :
We want the option to add labels to the generated prometheus scrape_config via rpk, so:
$ rpk generate prometheus-config --seed-addr localhost:9092 --job-name redpanda-node --add-label cluster-id:cluster-a --public-metrics
will generate
The text was updated successfully, but these errors were encountered: