Scrape metrics from multiple resource groups #1598
-
hello and I hope you are doing well! I was wondering how can I scrape metrics from different resource groups?
Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
You can define a default resource group in the metric declaration (docs), but can specify it for every resource that is being scraped as well. In this example it will scrape |
Beta Was this translation helpful? Give feedback.
-
Hi @tomkerkhove is there any update regarding the above answer? best regards, |
Beta Was this translation helpful? Give feedback.
You can define a default resource group in the metric declaration (docs), but can specify it for every resource that is being scraped as well.
In this example it will scrape
promitor-messaging
namespace in thepromitor
resource group, whilepromitor-messaging-dev
is being scraped frompromitor-dev
resource group by specifyingresourceGroupName