FrontendMetrics: Adds new backend api that frontend can use to push frontend measurements and counters to prometheus (#32593)

* FrontendMetrics: Adds new backend api that frontend can use to push frontend measurements and counters to prometheus

* FrontendMetrics: Adds new backend api that frontend can use to push frontend measurements and counters to prometheus

* Fix naming

* change to histogram

* Fixed go lint
This commit is contained in:
Torkel Ödegaard
2021-04-01 20:04:02 +02:00
committed by GitHub
parent c7ea96940a
commit d42a5b2561
10 changed files with 98 additions and 28 deletions
@@ -2,6 +2,8 @@
build: docker/blocks/prometheus2
ports:
- "9090:9090"
extra_hosts:
- "host.docker.internal:host-gateway"
node_exporter:
image: prom/node-exporter
@@ -32,7 +32,7 @@ scrape_configs:
- job_name: 'grafana'
static_configs:
- targets: ['127.0.0.1:3000']
- targets: ['host.docker.internal:3000']
- job_name: 'prometheus-random-data'
static_configs: