forked from elastic/apm-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extrapolate Jaeger transaction count from reported sampling rate (ela…
…stic#3722) * model: add Transaction.RepresentativeCount field * jaeger: set Transaction.RepresentativeCount Set Transaction.RepresentativeCount based on the value of sampler.param if sampler.type=probabilistic. * aggregation/txmetrics: use RepresentativeCount * Update changelog * docs: remove caveats about Jaeger sampling & RPMs Once the UI side of this is in, the histograms will be used for RPM graphs, which will take sampling into account. * Fix/add comments
- Loading branch information
Showing
9 changed files
with
211 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
processor/otel/test_approved/transaction_jaeger_sampling_rate.approved.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"events": [ | ||
{ | ||
"@timestamp": "2019-12-16T12:46:58.000768068Z", | ||
"agent": { | ||
"name": "Jaeger", | ||
"version": "unknown" | ||
}, | ||
"host": { | ||
"hostname": "host-abc", | ||
"name": "host-abc" | ||
}, | ||
"processor": { | ||
"event": "transaction", | ||
"name": "transaction" | ||
}, | ||
"service": { | ||
"language": { | ||
"name": "unknown" | ||
}, | ||
"name": "unknown", | ||
"node": { | ||
"name": "host-abc" | ||
} | ||
}, | ||
"timestamp": { | ||
"us": 1576500418000768 | ||
}, | ||
"transaction": { | ||
"duration": { | ||
"us": 79000000 | ||
}, | ||
"id": "", | ||
"result": "Success", | ||
"sampled": true, | ||
"type": "custom" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters