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] transactionType should be required on service-specific endpoints #86893

Merged
merged 4 commits into from
Jan 5, 2021

Conversation

cauemarcondes
Copy link
Contributor

closes #84611
Partially fixes this #86614

Fix the duplicate calls on the error_rate api due to the transaction type.

@cauemarcondes cauemarcondes requested a review from a team as a code owner December 23, 2020 13:43
@botelastic botelastic bot added the Team:APM All issues that need APM UI Team support label Dec 23, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:apm)

@cauemarcondes
Copy link
Contributor Author

@elasticmachine merge upstream

@cauemarcondes
Copy link
Contributor Author

@elasticmachine merge upstream

}: {
start: number;
end: number;
transactionGroups: TransactionGroupWithoutTimeseriesData[];
timeseriesData: TransactionGroupTimeseriesData;
latencyAggregationType: LatencyAggregationType;
transactionType: string;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there's still a terms aggregation on transaction.type in the original search that we might not need anymore. Can you have a look? (Might be that we are doing it in other places that can now be removed as well).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
apm 5.4MB 5.4MB +101.0B

Distributable file count

id before after diff
default 47264 48024 +760

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Comment on lines -129 to -134
{
req: {
url: `/api/apm/services/foo/transactions/charts/throughput?start=${start}&end=${end}&uiFilters=%7B%22environment%22%3A%22testing%22%7D`,
},
expectForbidden: expect403,
expectResponse: expect200,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this removed? Shouldn't we just add a transaction type?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cauemarcondes cauemarcondes merged commit 86d37ae into elastic:master Jan 5, 2021
@cauemarcondes cauemarcondes deleted the apm-duplicate-api-calls branch January 5, 2021 15:23
cauemarcondes added a commit to cauemarcondes/kibana that referenced this pull request Jan 5, 2021
…nts (elastic#86893)

* making transaction type required on some apis

* addressing PR comments

Co-authored-by: Kibana Machine <[email protected]>
cauemarcondes added a commit to cauemarcondes/kibana that referenced this pull request Jan 5, 2021
…nts (elastic#86893)

* making transaction type required on some apis

* addressing PR comments

Co-authored-by: Kibana Machine <[email protected]>
cauemarcondes added a commit that referenced this pull request Jan 5, 2021
…nts (#86893) (#87316)

* making transaction type required on some apis

* addressing PR comments

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
cauemarcondes added a commit that referenced this pull request Jan 5, 2021
…nts (#86893) (#87315)

* making transaction type required on some apis

* addressing PR comments

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
@ogupte ogupte self-assigned this Jan 21, 2021
@ogupte ogupte added the apm:test-plan-done Pull request that was successfully tested during the test plan label Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm:test-plan-7.11.0 apm:test-plan-done Pull request that was successfully tested during the test plan release_note:fix Team:APM All issues that need APM UI Team support v7.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[APM] transactionType should be required on service-specific endpoints
6 participants