elastic / elastic/apm-server

Revisit default fields for aggregated transactions

Open
#5,465 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
1.3k
Forks
543
Avg merge
1d 18h
Merged PRs (30d)
109

Description

Currently, the following fields are aggregated on for transaction metrics:

https://github.com/elastic/apm-server/blob/master/x-pack/apm-server/aggregation/txmetrics/aggregator.go#L423-L436:

```go
type transactionAggregationKey struct {
traceRoot bool
agentName string
containerID string
hostname string
kubernetesPodName string
serviceEnvironment string
serviceName string
serviceVersion string
transactionName string
transactionOutcome string
transactionResult string
transactionType string
}
```

Some of these fields were based on the presence of UI filters that needed them, but they've since been removed. We should look at the list to see if some fields can now be dropped, which could result in a better compression ratio.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.