-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[ObsUX][APM-Otel] Fix index pattern to accept otel indices, bump up version #196164
[ObsUX][APM-Otel] Fix index pattern to accept otel indices, bump up version #196164
Conversation
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
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.
Thanks for the fix! ❤️ I added a question but it should be fine as is, I think (I haven't tested it). Have you tested this against the e2e PoC?
x-pack/plugins/entity_manager/server/lib/entities/built_in/services_from_ecs_data.ts
Show resolved
Hide resolved
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
|
@@ -10,14 +10,14 @@ import { BUILT_IN_ID_PREFIX } from './constants'; | |||
|
|||
export const builtInServicesFromEcsEntityDefinition: EntityDefinition = | |||
entityDefinitionSchema.parse({ | |||
version: '0.4.0', | |||
version: '0.5.0', | |||
id: `${BUILT_IN_ID_PREFIX}services_from_ecs_data`, | |||
name: 'Services from ECS data', | |||
description: | |||
'This definition extracts service entities from common data streams by looking for the ECS field service.name', |
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.
Should we mention that otel services will also be extracted from traces?
Closes #195653
The problem
The current service definition used by the transforms uses the
traces-apm*
indices and service.name as identifier fields, otel hastraces-*.otel-*
Solution
Modify the definition of the index patterns to look for
traces*
We can see now otel service in the entities inventory