Add addition params feature into import prometheus configuration
See original GitHub issueHi Team, Currently, promgen configuration only support some params. I have some configuration need migrate to Promgen like:
scrape_configs:
- job_name: 'test_application'
metrics_path: 'prometheus'
params:
token: ['xxxxxx']
file_sd_configs:
- files:
- file-sd/jennifer_node*.json
jennifer_node*.json have this content
{
"targets": [
"http://atrkadas-stream1.travel-dev.dev.jp.local/healthcheck.html",
"http://atrsrm-api.travel-dev.dev.jp.local/healthcheck.html"
],
"labels": {
"type": "internal",
"platform": "cloud"
}
Can we add some params like token, type, platform … ? It should be useful. Thank you,
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Configuration - Prometheus.io
The file is written in YAML format, defined by the scheme described below. Brackets indicate that a parameter is optional. For non-list parameters...
Read more >Scraping additional Prometheus sources and importing those ...
Explains how to import more Prometheus metrics and scrape more Prometheus sources in CloudWatch Container Insights.
Read more >Prometheus data source | Grafana documentation
Configure the data source ; Custom query parameters, Adds custom parameters to the Prometheus query URL, such as timeout , partial_response , dedup...
Read more >Prometheus Metrics, Implementing your Application - Sysdig
In the following example-driven tutorial we will learn how to use Prometheus metrics / OpenMetrics to instrument your code whether you are ...
Read more >Prometheus Cluster Monitoring - OpenShift Documentation
In addition to Prometheus and Alertmanager, OpenShift Container Platform Monitoring also ... Use the process described above to add this configuration.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Currently there is no support for something like that 🙇
Oooh, ok. Thanks for the reply 😃