-
Notifications
You must be signed in to change notification settings - Fork 526
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[7.x] Add support for Composite spans in the intake API (backport #5661…
…) (#5777) * Support composite spans in the intake API (cherry picked from commit d0310d1) * Update documentation for new composite span fields in ES (cherry picked from commit 93332d2) # Conflicts: # include/fields.go * Update approvals file (cherry picked from commit 598e573) * Update duration and composite sum fields to be more realistic (cherry picked from commit edaedcc) * Update changelog (cherry picked from commit 3429db6) # Conflicts: # changelogs/head.asciidoc * Fix minor typo in composite.sum field (cherry picked from commit b827b2b) # Conflicts: # include/fields.go * Update description of span duration and composite sum (cherry picked from commit 24284d8) * Add note to Composite.Sum that it's in milliseconds (cherry picked from commit f65e583) * Update include/fields.go * Remove head.asciidoc Co-authored-by: Emily Stolfo <[email protected]>
- Loading branch information
1 parent
645bd71
commit b722aa9
Showing
16 changed files
with
468 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -893,6 +893,146 @@ | |
"id": "123", | ||
"name": "john" | ||
} | ||
}, | ||
{ | ||
"@timestamp": "2021-07-06T11:58:05.682Z", | ||
"agent": { | ||
"name": "elastic-node", | ||
"version": "3.14.0" | ||
}, | ||
"cloud": { | ||
"account": { | ||
"id": "account_id", | ||
"name": "account_name" | ||
}, | ||
"availability_zone": "cloud_availability_zone", | ||
"instance": { | ||
"id": "instance_id", | ||
"name": "instance_name" | ||
}, | ||
"machine": { | ||
"type": "machine_type" | ||
}, | ||
"project": { | ||
"id": "project_id", | ||
"name": "project_name" | ||
}, | ||
"provider": "cloud_provider", | ||
"region": "cloud_region", | ||
"service": { | ||
"name": "lambda" | ||
} | ||
}, | ||
"container": { | ||
"id": "container-id" | ||
}, | ||
"ecs": { | ||
"version": "1.10.0" | ||
}, | ||
"event": { | ||
"outcome": "success" | ||
}, | ||
"host": { | ||
"architecture": "x64", | ||
"hostname": "node-name", | ||
"ip": "127.0.0.1", | ||
"name": "node-name", | ||
"os": { | ||
"platform": "darwin" | ||
} | ||
}, | ||
"kubernetes": { | ||
"namespace": "namespace1", | ||
"node": { | ||
"name": "node-name" | ||
}, | ||
"pod": { | ||
"name": "pod-name", | ||
"uid": "pod-uid" | ||
} | ||
}, | ||
"labels": { | ||
"tag1": "label1" | ||
}, | ||
"observer": { | ||
"ephemeral_id": "00000000-0000-0000-0000-000000000000", | ||
"hostname": "", | ||
"id": "fbba762a-14dd-412c-b7e9-b79f903eb492", | ||
"type": "test-apm-server", | ||
"version": "1.2.3", | ||
"version_major": 1 | ||
}, | ||
"parent": { | ||
"id": "abcdef0123456789" | ||
}, | ||
"process": { | ||
"args": [ | ||
"node", | ||
"server.js" | ||
], | ||
"pid": 1234, | ||
"ppid": 6789, | ||
"title": "node" | ||
}, | ||
"processor": { | ||
"event": "span", | ||
"name": "transaction" | ||
}, | ||
"service": { | ||
"environment": "staging", | ||
"framework": { | ||
"name": "Express", | ||
"version": "1.2.3" | ||
}, | ||
"language": { | ||
"name": "ecmascript", | ||
"version": "8" | ||
}, | ||
"name": "backendspans", | ||
"node": { | ||
"name": "container-id" | ||
}, | ||
"runtime": { | ||
"name": "node", | ||
"version": "8.0.0" | ||
}, | ||
"version": "5.1.3" | ||
}, | ||
"span": { | ||
"action": "query", | ||
"composite": { | ||
"compression_strategy": "exact_match", | ||
"count": 10, | ||
"sum": { | ||
"us": 359298 | ||
} | ||
}, | ||
"duration": { | ||
"us": 378191 | ||
}, | ||
"id": "abcdef01234567", | ||
"name": "SELECT FROM p_details", | ||
"start": { | ||
"us": 2830 | ||
}, | ||
"subtype": "postgresql", | ||
"type": "db" | ||
}, | ||
"timestamp": { | ||
"us": 1625572685682272 | ||
}, | ||
"trace": { | ||
"id": "edcbaf0123456789abcdef9876543210" | ||
}, | ||
"transaction": { | ||
"id": "01af25874dec69dd" | ||
}, | ||
"user": { | ||
"domain": "ldap://abc", | ||
"email": "[email protected]", | ||
"id": "123", | ||
"name": "john" | ||
} | ||
} | ||
] | ||
} |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.