-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Make xpack.otel_data.registry.enabled default to true #113468
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
Make xpack.otel_data.registry.enabled default to true #113468
Conversation
@elasticmachine update branch |
x-pack/plugin/otel-data/src/main/java/org/elasticsearch/xpack/oteldata/OTelPlugin.java
Show resolved
Hide resolved
x-pack/plugin/otel-data/src/main/java/org/elasticsearch/xpack/oteldata/OTelPlugin.java
Show resolved
Hide resolved
@elasticmachine update branch |
This fails with:
That makes me think, synthetic-source requires some license, but since we use that by default now ( We set |
This isn't really about the usage of synthetic _source itself but is related to this fallback check for LogsDB Lines 46 to 55 in 4318ebb
By calling By enabling the OTel logs and traces data streams which are using LogsDB by default, ES always executes this fallback check. This trips the following test that assert that no features should be used by starting up with default configuration:
|
So synthetic source usage will be checked once this PR gets merged: #113759 But I think for index template we should use: I can work on a PR for that. |
The SyntheticSourceLicenseService should only track if usage is allowed and an index will actually be created. Relates to elastic#113468
@gregkalapos: there are also a bunch of tests failing in @axw has disabled the
So you'll probably need to make a similar change for this, too. |
The SyntheticSourceLicenseService should only track if usage is allowed and an index will actually be created. Relates to #113468
The SyntheticSourceLicenseService should only track if usage is allowed and an index will actually be created. Relates to elastic#113468
@elasticmachine update branch |
Pinging @elastic/es-data-management (Team:Data Management) |
💚 Backport successful
|
* Make xpack.otel_data.registry.enabled default to true * Update build.gradle * Disable otel-data plugin for tests where it's not relevant --------- Co-authored-by: Elastic Machine <[email protected]>
) * Make xpack.otel_data.registry.enabled default to true * Update build.gradle * Disable otel-data plugin for tests where it's not relevant --------- Co-authored-by: Elastic Machine <[email protected]>
The SyntheticSourceLicenseService should only track if usage is allowed and an index will actually be created. Relates to elastic#113468
* Make xpack.otel_data.registry.enabled default to true * Update build.gradle * Disable otel-data plugin for tests where it's not relevant --------- Co-authored-by: Elastic Machine <[email protected]>
Solves #113368
Enabling otel-data by default.
Testing
I removed
setting("xpack.otel_data.registry.enabled", "true")
from tests, so naturally all test will assume default config and test that the plugin is turned on.