-
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
[APM] Some API calls happen without transaction.type #86614
Comments
Pinging @elastic/apm-ui (Team:apm) |
@formgeist Do you think we should filter by transaction type the metadata and metadata/icons APIs? these are going to be used in the service icons. |
@cauemarcondes The service info shouldn't be filtered by transaction type as they should simply tell the story of the entire service. It's filtered by environment? |
Yes, it is. |
@formgeist and what do you think about this environment API (/api/apm/ui_filters/environments)? should it be filtered by transaction type too? |
No, environment should not be filtered by transaction type. The hierarchy is:
Example |
Today environment is filtered by start, end, and service name. Should we keep the start and end?
Today transaction type is filtered by start, end, and service name. I'm going to add the environment filter here too then. |
@sqren before I go on and start changing some code I'd like to double-check some stuff with you. The above image filters the transaction types by environment. The Now, this image shows the current behavior, where the transaction types is not filtered by environment, in this case Like I said I just want to double-check if it is worth doing this change. |
True, I left out the date range. Both environment and transaction type should be filtered by this. |
Good point. I think there are two options:
|
New issue created to filter the transaction types by environment #87616 |
@cauemarcondes Clarification from my talk with @alex-fedotyev - we want to keep the service metadata filtered by queries, but not filtered by the transaction type. So I think we can strike that from the list as well. |
When clicking on a service from the service inventory, and landing on the service overview page, the following requests do not have a transaction.type set:
Unexpected & should be fixed:
Fixed here [APM]/api/apm/services/{serviceName}/transactions/charts/error_rate
(is retried later with transaction type set)transactionType
should be required on service-specific endpoints #86893Expected:
/api/apm/services/opbeans-ruby/transaction_types
/api/apm/services/{serviceName}/dependencies
Unclear:
/api/apm/ui_filters/environments
/api/apm/services/{serviceName}/metadata/icons
/api/apm/services/opbeans-ruby/metadata/details
/api/apm/services/opbeans-ruby/annotation/search
/api/apm/services/opbeans-ruby/agent_name
The agent name API call doesn't really need it.
I think possibly environments should have it. @formgeist should we filter environments based on the selected transaction type?
For annotations and metadata we should make the same decision, as service.version is being used. I'm inclined to not use transaction type there, as it is not part of the API to create annotations.
The text was updated successfully, but these errors were encountered: