Skip to content
Commit d9ca9750 authored by Ashley's avatar Ashley Committed by Gavin Wood
Browse files

Grafana integration (#3913)



* Very WIP

* record_metrics macro works

* Integrate into service

* Licenses and documentation

* Remove unused Debugs, make respond function clearer

* Conform to line widths, fix service test

* Switch to storing the timestamps as millis instead

* Update core/grafana-data-source/src/lib.rs

Co-Authored-By: default avatarKian Paimani <[email protected]>

* Transform timestamps to i64 in serialization

* Fix license date

* Binary sort to find selection range for metrics

* Obey maxDataPoints

* Run a cleaning future

* Newlines at EOF

* Update core/service/Cargo.toml

Co-Authored-By: default avatarPierre Krieger <[email protected]>

* Update core/grafana-data-source/src/lib.rs

Co-Authored-By: default avatarPierre Krieger <[email protected]>

* Fix indentation

* Improve select_points

* Made test more accurate

* Inprogress

* Use the same futures version as hyper for now

* Error handling

* Remove dependence on hyper's tokio feature

* Added target_os flag

* Update Cargo.toml

Co-Authored-By: default avatarPierre Krieger <[email protected]>

* Simplify example

* Remove compat wildcard

* Updated lock file

* Fix indentation 😉
parent c86d2137
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