webdevops / azure-metrics-exporter

Azure Monitor metrics exporter for Prometheus with dimension support, template engine and ServiceDiscovery
MIT License
124 stars 25 forks source link

Getting started and testing #50

Open julvanu opened 1 year ago

julvanu commented 1 year ago

Hi, I am quite new to this project, and to docker, azure etc. in general.

  1. Could you please further explain the "How to test" section? How can I enable the webui, where can I pass this parameter?
  2. What do I have to do to set up the exporter? Just building and running the docker image?

Thanks a lot!

julvanu commented 1 year ago

Maybe for explanation: I want to use this tool to export metrics from multiple azure services to prometheus, I went over the docu/readme but I still do not really know how to set it up and use it. So far, also Google could not really help. I appreciate every help

mblaschke commented 1 year ago

if you start the application the webui is available under localhost:8080/query, if you run it as container you have to use the container ip/host ip instead.

the exporter uses the query format which also the Azure portal is using but it's ugly to get the details with the browser console and the Azure documentation is not really good/existing.

normally you set the resource type and the metrics you want except for special metrics where you have to set more settings.

the query ui also creates an example configuration based on the query settings which you can get in the bottom area.