Open jbonnet opened 7 years ago
Should be from http://son-monitor-manager:8000/api/v1/prometheus/metrics/list if you create a request from internal component
son-monitor-manager IP address will be resolved by docker internal DNS
ok, @felipevicens, thanks,
This was just a reminder for implementation... ;-)
BTW, @pkarkazis, isn't this list of metrics static? Or we should count also on having the service- or function-defined metrics?
@pkarkazis
Please see my previous comment: is the list of metrics in http://son-monitor-manager:8000/api/v1/prometheus/metrics/list
static? If not, how could we add more metrics?
@jbonnet from the api call http://son-monitor-manager:8000/api/v1/prometheus/metrics/list we get the list of metrics that already gathered on prometheus server. This list is not static, it changes each time we start an entity which supports some new metrics. For example, vtc-vnf collects some additional metrics like "mbits_packets_all", "mbits_packets_http" etc these metrics are going to be included in api response after the initiation of the first instance of a vtc vnf.
Super, @pkarkazis We'll need that to help the user in the SDK to decide which metrics to subscribe...
Gather them from
http://sp.int3.sonata-nfv.eu:8000/api/v1/prometheus/metrics/list