-
Notifications
You must be signed in to change notification settings - Fork 124
Closed
Labels
Milestone
Description
Description of the issue
To facilitate breakdown graphs (#70), agents should track metrics for the self-time of spans grouped by their span.type, as well as the duration for the transactions.
Example documents:
{
"metricset": {
"timestamp": 1555603735414000,
"transaction": {
"name": "test transaction",
"type": "request"
},
"span": {
"type": "db",
"subtype": "mysql"
},
"samples": {
"span.self_time.count": { "value": 100 },
"span.self_time.sum.us": { "value": 100000 }
}
}
}
{
"metricset": {
"timestamp": 1555603735414000,
"transaction": {
"name": "test transaction",
"type": "request"
},
"span": {
"type": "app"
},
"samples": {
"span.self_time.count": { "value": 10 },
"span.self_time.sum.us": { "value": 200000 }
}
}
}
{
"metricset": {
"timestamp": 1555603735414000,
"transaction": {
"name": "test transaction",
"type": "request"
},
"samples": {
"transaction.duration.count": { "value": 10 },
"transaction.duration.sum.us": { "value": 300000 },
"transaction.breakdown.count": { "value": 10 },
}
}
}For more details, background and explanation, see this concept: https://docs.google.com/document/d/1-_LuC9zhmva0VvLgtI0KcHuLzNztPHbcM0ZdlcPUl64
What we are voting on
Tick your box if the concept looks good to you in general and if you think we can proceed. The details can be adjusted along the way. I'll create implementation issues if we agree to proceed with this concept.
Vote
| Agent | Yes | No | Indifferent | N/A | Link to agent issue |
|---|---|---|---|---|---|
| .NET | elastic/apm-agent-dotnet#227 | ||||
| Go | elastic/apm-agent-go#528 | ||||
| Java | elastic/apm-agent-java#556 | ||||
| Node.js | elastic/apm-agent-nodejs#1064 | ||||
| Python | elastic/apm-agent-python#479 | ||||
| Ruby | elastic/apm-agent-ruby#420 | ||||
| RUM | elastic/apm-agent-rum-js#289 |