-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[OTel Metrics] Add compatibility with monitoring_collection #230465
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
[OTel Metrics] Add compatibility with monitoring_collection #230465
Conversation
|
Pinging @elastic/kibana-core (Team:Core) |
pickypg
left a comment
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.
LGTM with a comment about the singleton teardown.
x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts
Outdated
Show resolved
Hide resolved
…ithub.com:afharo/kibana into otel/add-compatibility-with-monitoring-collection
…ibility-with-monitoring-collection
jloleysens
left a comment
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.
Nice!
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Public APIs missing comments
Unknown metric groupsAPI count
History
cc @afharo |
…230465) ## Summary Resolves elastic#230184 Moves the set up of the metric readers defined in the plugin `monitoringCollection` to the `@kbn/metrics` package. This way, both features are supported and can run alongside. I added @elastic/stack-monitoring as a co-owner of the `@kbn/metrics` package to make sure that we don't break their features 😇 ### Checklist - [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) - [x] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
…lastic#230465)" This reverts commit b943ab9.
#231479) This rolls back when `@opentelemetry/instrumentation-runtime-node` is loaded to match the behavior prior to [#230465 ](https://github.com/elastic/kibana/pull/230465/files#diff-09903975f886a43375599fff16ecf98582125a6705bccdb12ad667da3ba746acL56). Without this rollback we're seeing a significant (2-3x) increase in startup times.
elastic#231479) This rolls back when `@opentelemetry/instrumentation-runtime-node` is loaded to match the behavior prior to [elastic#230465 ](https://github.com/elastic/kibana/pull/230465/files#diff-09903975f886a43375599fff16ecf98582125a6705bccdb12ad667da3ba746acL56). Without this rollback we're seeing a significant (2-3x) increase in startup times.
#231552) Forward port of #231479 This rolls back when `@opentelemetry/instrumentation-runtime-node` is loaded to match the behavior prior to [#230465](https://github.com/elastic/kibana/pull/230465/files#diff-09903975f886a43375599fff16ecf98582125a6705bccdb12ad667da3ba746acL56). Without this rollback we're seeing a significant (2-3x) increase in startup times.
…230465) ## Summary Resolves elastic#230184 Moves the set up of the metric readers defined in the plugin `monitoringCollection` to the `@kbn/metrics` package. This way, both features are supported and can run alongside. I added @elastic/stack-monitoring as a co-owner of the `@kbn/metrics` package to make sure that we don't break their features 😇 ### Checklist - [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) - [x] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
elastic#231552) Forward port of elastic#231479 This rolls back when `@opentelemetry/instrumentation-runtime-node` is loaded to match the behavior prior to [elastic#230465](https://github.com/elastic/kibana/pull/230465/files#diff-09903975f886a43375599fff16ecf98582125a6705bccdb12ad667da3ba746acL56). Without this rollback we're seeing a significant (2-3x) increase in startup times.
elastic#231552) Forward port of elastic#231479 This rolls back when `@opentelemetry/instrumentation-runtime-node` is loaded to match the behavior prior to [elastic#230465](https://github.com/elastic/kibana/pull/230465/files#diff-09903975f886a43375599fff16ecf98582125a6705bccdb12ad667da3ba746acL56). Without this rollback we're seeing a significant (2-3x) increase in startup times.
Summary
Resolves #230184
Moves the set up of the metric readers defined in the plugin
monitoringCollectionto the@kbn/metricspackage.This way, both features are supported and can run alongside.
I added @elastic/stack-monitoring as a co-owner of the
@kbn/metricspackage to make sure that we don't break their features 😇Checklist
release_note:breakinglabel should be applied in these situations.release_note:*label is applied per the guidelinesbackport:*labels.