Skip to content
Snippets Groups Projects
Unverified Commit 20eac790 authored by aptend's avatar aptend Committed by GitHub
Browse files

Add basic metrics (#2792)

* fix some log output

* add from_unixtime and unix_timestamp

* add metrics package

* metric option from env

* do not expose prom at top layer

* add some system vars

* move reserved labels to MetricFamily

* add more test

* adjust unixEpoch

* remove SV bool check

* add collectorToProm interface

* use rateCounter for now

* add grafana dashboard json

* fix merge conflict

* add a temp config to force drop-and-init

* fix time test

* fix ut error

* fix unixtimestamp test

* make static check happier

* larger collector buf
parent acb86fa8
No related branches found
No related tags found
No related merge requests found
Showing
with 1756 additions and 9 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment