Groups
Groups
Sign in
Groups
Groups
Prometheus Users
Conversations
About
Send feedback
Help
Target With hostname
22 views
Skip to first unread message
Test Kumar
unread,
Jul 14, 2022, 9:03:25 AM
7/14/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
How can I scrape the target which is having URL like below URL
https://ms-shared-nad.techmahindra.com/000000000028210-nad-adms-rbac-prometheus-monitoring/metrics
Thanks & Regards,
Test Kumar
Brian Candler
unread,
Jul 14, 2022, 10:20:56 AM
7/14/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
The simplest way is a scrape job with
scheme: https
metrics_path: /000000000028210-nad-adms-rbac-prometheus-monitoring/metrics
static_configs:
- targets:
-
ms-shared-nad.techmahindra.com:443
If you have multiple targets to scrape, with different paths, then you can use target relabelling to set labels __metrics_path__ and/or __scheme__ differently for each target.
Reply all
Reply to author
Forward
0 new messages