statsd_exporter/pkg/exporter
Eddie Bracho fdc8b5f852 Add scale field to mapping config
This field allows configuring unit conversions in mappings. For example:

mappings:
- match: foo.latency_ms
  name: foo_latency_seconds
  scale: 0.001
- match: bar.processed_kb
  name: bar_processed_bytes
  scale: 1024

Signed-off-by: Eddie Bracho <eddiebracho@gmail.com>
2023-05-29 19:54:43 -07:00
..
exporter.go Add scale field to mapping config 2023-05-29 19:54:43 -07:00
exporter_test.go Add scale field to mapping config 2023-05-29 19:54:43 -07:00