-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[sumologicexporter] Enable metrics pipeline #2117
[sumologicexporter] Enable metrics pipeline #2117
Conversation
…tring Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
680ebed
to
a52081d
Compare
Codecov Report
@@ Coverage Diff @@
## main #2117 +/- ##
==========================================
- Coverage 90.39% 90.32% -0.08%
==========================================
Files 394 394
Lines 19347 19475 +128
==========================================
+ Hits 17489 17590 +101
- Misses 1397 1419 +22
- Partials 461 466 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
@sumo-drosiek was this reviewed by someone that is in the owners for sumologic exporter? |
cc: @pmalek-sumo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested the metrics exporting and all looks good overall. I would just clarify README.md with the actually supported export formats (e.g. carbon2
is not supported yet)
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
@bogdandrutu Could we merge this PR? |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
* [sumologicexporter] Rename logs related buffer names to include log string Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> * [sumologicexporter] Add metrics support to sender Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> * [sumologicexporter] Initialise prometheusFormatter in exporter * [sumologicexporter] Use prometheusFormatter in sendMetrics * [sumologicexporter] Add support for PrometheusFormat in sender * [sumologicexporter] Add tests for sendMetrics and fix sender Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> * [sumologicexporter] Add and enable metrics for exporter Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> * [sumologicexporter] Use consts for sender Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> * [sumologicexporter] Skip some metrics tests due to time factor * [sumologicexporter] Set prometheus as default metrics format Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> * Fix default value used in tests Co-authored-by: Przemek Maciolek <pmaciolek@sumologic.com>
Description:
Enable metrics pipeline for sumologicexporter. For now only prometheus format is supported. Rest of formats it's going to be implemented in future PRs
Link to tracking Issue:
#1498
Testing:
Unit tests
Documentation:
In-code comments