Commit Graph

8 Commits

Author SHA1 Message Date
Ciro S. Costa c61a0f32d3 cmd/collector: add free_space and database_size
Signed-off-by: Ciro S. Costa <utxobr@protonmail.com>
2021-08-03 18:39:11 -04:00
Ciro S. Costa 6e7afaebeb pkg/collector: add unit to block size metric
Signed-off-by: Ciro S. Costa <utxobr@protonmail.com>
2021-08-03 18:38:40 -04:00
Ciro S. Costa 5febff4a8d collect height and target-height from info
this way we can figure out how far we are from the main chain's height
during sync

Signed-off-by: Ciro S. Costa <utxobr@protonmail.com>
2021-08-03 17:05:09 -04:00
Ciro S. Costa 5dff9c1fba Merge branch 'collector-round-2' 2021-08-02 17:46:26 -04:00
Ciro S. Costa debdce3fb2 rework collector
this is a big refactor, essentially rewriting the custom collector from
scratch, and as such, creating a new dashboard based on the new metrics.

Signed-off-by: Ciro S. Costa <utxobr@protonmail.com>
2021-08-02 17:44:20 -04:00
Ciro S. Costa 72c332edb3 pkg/collector: `unknown` when geoip is not provided
Signed-off-by: Ciro S. Costa <utxobr@protonmail.com>
2021-07-11 07:37:54 -04:00
Ciro S. Costa 80fe913813 add goreleaser; update go-monero, use cobra
Signed-off-by: Ciro S. Costa <utxobr@protonmail.com>
2021-07-11 07:31:40 -04:00
Ciro S. Costa 31f5a6f84b port over code from monero-operator
the code has been initially written under `monero-operator`, but it
turns out that having the exporter available for non-kubernetes users is
pretty good, thus, making it its own separate thing.

Signed-off-by: Ciro S. Costa <utxobr@protonmail.com>
2021-06-26 10:54:14 -04:00