sudoblockio / icon-etl

MIT License
0 stars 0 forks source link

Prometheus exporters #17

Closed robcxyz closed 3 years ago

robcxyz commented 3 years ago

Setup prom exporter with the following attributes:

Labels on each metric

Metrics

shinyfoil commented 3 years ago

Added to forked bx-common package (now being pushed to pypi as blockchain-etl-common-instrumented):

Need to figure out what makes sense for network_name and container_name.

network_name would have to be set separately since we only really interact with things through the "provider_uri" var. container_name could be provided through an env var via the downward api (probably?)

This would probably end up having to be pushed up into the upstream common package so that they're applied as labels though...