Skip to content
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

[APM] [OTel] Make APM UI use service metrics with OTel-native data #196294

Closed
AlexanderWert opened this issue Oct 15, 2024 · 2 comments
Closed

[APM] [OTel] Make APM UI use service metrics with OTel-native data #196294

AlexanderWert opened this issue Oct 15, 2024 · 2 comments
Labels
apm:opentelemetry APM UI - OTEL Work apm enhancement New value added to drive a business result needs-refinement A reason and acceptance criteria need to be defined for this issue OpenTelemetry Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team

Comments

@AlexanderWert
Copy link
Member

Service overview with OTel native data does not use service metrics.

The time_range_metadata requests returns:

 "isUsingServiceDestinationMetrics": true,
    "sources": [
        {
            "documentType": "serviceTransactionMetric",
            "rollupInterval": "1m",
            "hasDocs": false,
            "hasDurationSummaryField": false
        },
        {
            "documentType": "serviceTransactionMetric",
            "rollupInterval": "10m",
            "hasDocs": false,
            "hasDurationSummaryField": false
        },
        {
            "documentType": "serviceTransactionMetric",
            "rollupInterval": "60m",
            "hasDocs": false,
            "hasDurationSummaryField": false
        },
        {
            "documentType": "transactionMetric",
            "rollupInterval": "1m",
            "hasDocs": true,
            "hasDurationSummaryField": false
        },
        {
            "documentType": "transactionMetric",
            "rollupInterval": "10m",
            "hasDocs": false,
            "hasDurationSummaryField": false
        },
        {
            "documentType": "transactionMetric",
            "rollupInterval": "60m",
            "hasDocs": false,
            "hasDurationSummaryField": false
        },
        {
            "documentType": "transactionEvent",
            "rollupInterval": "none",
            "hasDocs": true,
            "hasDurationSummaryField": false
        }

Potential cause

With OTel-native data we cannot guarantee that service metrics with transaction.duration.summary and transaction.duration.histogram land on the same doc. As a result, we can have all permutations of docs having these two metrics or not:
Image

So we need the change the corresponding check in the UI.

@AlexanderWert AlexanderWert added the Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team label Oct 15, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@smith smith added enhancement New value added to drive a business result apm OpenTelemetry apm:opentelemetry APM UI - OTEL Work labels Oct 15, 2024
@jennypavlova jennypavlova added the needs-refinement A reason and acceptance criteria need to be defined for this issue label Oct 16, 2024
@AlexanderWert
Copy link
Member Author

Closing as that issue is resolved through proper data ingestion

@AlexanderWert AlexanderWert closed this as not planned Won't fix, can't repro, duplicate, stale Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm:opentelemetry APM UI - OTEL Work apm enhancement New value added to drive a business result needs-refinement A reason and acceptance criteria need to be defined for this issue OpenTelemetry Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team
Projects
None yet
Development

No branches or pull requests

4 participants