K-Phoen / grabana

User-friendly Go library for building Grafana dashboards
MIT License
680 stars 69 forks source link

WIP: Add Cloudwatch graph (Metrics) to grabana #252

Open botanikanet opened 7 months ago

botanikanet commented 7 months ago

https://grafana.com/docs/grafana/latest/datasources/aws-cloudwatch/query-editor/#create-a-metric-search-query

codecov[bot] commented 7 months ago

Codecov Report

Attention: 10 lines in your changes are missing coverage. Please review.

Comparison is base (fec9fee) 89.71% compared to head (6f0a853) 89.65%. Report is 2 commits behind head on master.

:exclamation: Current head 6f0a853 differs from pull request most recent head 2c94db9. Consider uploading reports for the commit 2c94db9 to get more accurate results

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/K-Phoen/grabana/pull/252/graphs/tree.svg?width=650&height=150&src=pr&token=eJwYXNp5jD&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K%C3%A9vin+Gomez)](https://app.codecov.io/gh/K-Phoen/grabana/pull/252?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K%C3%A9vin+Gomez) ```diff @@ Coverage Diff @@ ## master #252 +/- ## ========================================== - Coverage 89.71% 89.65% -0.06% ========================================== Files 92 93 +1 Lines 7036 7092 +56 ========================================== + Hits 6312 6358 +46 - Misses 572 581 +9 - Partials 152 153 +1 ``` | [Files](https://app.codecov.io/gh/K-Phoen/grabana/pull/252?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K%C3%A9vin+Gomez) | Coverage Δ | | |---|---|---| | [graph/graph.go](https://app.codecov.io/gh/K-Phoen/grabana/pull/252?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K%C3%A9vin+Gomez#diff-Z3JhcGgvZ3JhcGguZ28=) | `98.50% <100.00%> (+0.09%)` | :arrow_up: | | [target/cloudwatch/cloudwatch.go](https://app.codecov.io/gh/K-Phoen/grabana/pull/252?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K%C3%A9vin+Gomez#diff-dGFyZ2V0L2Nsb3Vkd2F0Y2gvY2xvdWR3YXRjaC5nbw==) | `100.00% <100.00%> (ø)` | | | [decoder/graph.go](https://app.codecov.io/gh/K-Phoen/grabana/pull/252?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K%C3%A9vin+Gomez#diff-ZGVjb2Rlci9ncmFwaC5nbw==) | `60.45% <0.00%> (-1.05%)` | :arrow_down: | | [decoder/target.go](https://app.codecov.io/gh/K-Phoen/grabana/pull/252?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K%C3%A9vin+Gomez#diff-ZGVjb2Rlci90YXJnZXQuZ28=) | `96.15% <0.00%> (-3.35%)` | :arrow_down: |