Sebastian Rabenhorst
4392beadc3
Added config to honor labels in mappings
...
Signed-off-by: Sebastian Rabenhorst <sebastian.rabenhorst@shopify.com>
2023-11-02 14:15:07 +01:00
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
davinlu
6329577a6b
refactor: replace level pkg
...
Signed-off-by: davinlu <davinlu@tencent.com>
2021-09-01 18:55:45 +08:00
Matthias Rampke
c4f435e140
Revert "replace level pkg"
2021-08-31 12:39:34 +02:00
royeo
c3a818ef62
replace level pkg
...
Signed-off-by: royeo <ljn6176@gmail.com>
2021-08-17 23:27:27 +08:00
John Howard
c5113b732c
Update dependencies and drop large go-kit update
...
Pulling in the same changes as done in
https://github.com/prometheus/common/issues/255
Signed-off-by: John Howard <howardjohn@google.com>
2021-06-03 08:00:27 -07:00
glightfoot
940e653ea6
cleanup
...
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2021-02-06 23:21:49 -05:00
glightfoot
58aed41ff2
remove deprecated fields from mapper defaults config
...
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2021-01-28 13:59:42 -05:00
Robert Fratto
b5deeda251
Pass around custom registry for registering exporter metrics
...
Importers of pkg/exporter may not want for series to be imported into
the default registry. This commit makes it possible to provide a custom
registry for metrics registration.
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
2020-11-20 14:14:14 -05:00
bakins
4acb05aa89
Use an interface for Registry so we may have multiple implementations
...
Signed-off-by: bakins <brian@akins.org>
2020-10-22 10:08:57 -04:00
glightfoot
77277a5150
support deprecated timer_type in configs
...
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-15 18:41:16 -04:00
glightfoot
32e9e58e32
Rename timer to observer in mapper
...
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-15 17:26:20 -04:00
glightfoot
d95a53553e
change metric labels to observer
...
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-15 10:14:11 -04:00
glightfoot
374d202daa
rename TimerEvent to ObserverEvent
...
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-12 09:25:51 -04:00
glightfoot
5c0b206f6e
add support for histograms and distributions without unit conversion
...
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-11 10:56:36 -04:00
Frank Davidson
5ec58a32c2
squash! Updated structs and tests.
...
squash! Updated structs and tests.
Updated structs and tests.
Signed-off-by: Frank Davidson <davidfr@americas.manulife.net>
Signed-off-by: Frank Davidson <ffdavidson@gmail.com>
Signed-off-by: Frank Davidson <frank_davidson@manulife.com>
2020-04-09 11:44:13 -04:00
Frank Davidson
4b3b9ba207
Added license.
...
Signed-off-by: Frank Davidson <davidfr@americas.manulife.net>
Signed-off-by: Frank Davidson <ffdavidson@gmail.com>
2020-04-08 15:30:01 -04:00
Frank Davidson
a455a8ad64
hopefully now linux
...
Signed-off-by: Frank Davidson <davidfr@americas.manulife.net>
Signed-off-by: Frank Davidson <ffdavidson@gmail.com>
2020-04-08 15:29:54 -04:00
Frank Davidson
d55b42eabb
:Issue 234: Split into reusable packages.
...
Signed-off-by: Frank Davidson <frank_davidson@manulife.com>
Signed-off-by: Frank Davidson <ffdavidson@gmail.com>
2020-04-08 15:29:49 -04:00