-
Notifications
You must be signed in to change notification settings - Fork 8k
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] Define data schema based on OAM #180932
Labels
enhancement
New value added to drive a business result
Team:obs-ux-infra_services
Observability Infrastructure & Services User Experience Team
Comments
cauemarcondes
added
the
Team:obs-ux-infra_services
Observability Infrastructure & Services User Experience Team
label
Apr 16, 2024
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
smith
added
enhancement
New value added to drive a business result
needs-refinement
Needs PM's to refine scope
labels
Apr 25, 2024
cauemarcondes
added a commit
that referenced
this issue
Apr 26, 2024
…81387) closes #180932 closes #180943 Running it: ``` node scripts/synthtrace.js traces_logs_assets.ts --clean --from=2024-04-17T08:00:00.000Z --to=2024-04-17T08:15:00.000Z --logLevel=debug ``` `assets` index output based on the scenario (traces_logs_assets): ``` "hits": [ { "_index": "assets", "_id": "Ydx-FY8BEwTL0kdepnZC", "_score": 1, "_source": { "asset": { "id": "synth-node-0", "type": "service", "identifying_metadata": [ "service.name" ], "first_seen": "2024-04-17T08:00:00.000Z", "last_seen": "2024-04-17T08:14:00.000Z", "signalTypes": { "asset.traces": true, "asset.logs": true } }, "service": { "environment": "Synthtrace: traces_logs_assets", "name": "synth-node-0", "node": { "name": "instance" }, "language": {} } } }, { "_index": "assets", "_id": "Ytx-FY8BEwTL0kdepnZC", "_score": 1, "_source": { "asset": { "id": "synth-node-1", "type": "service", "identifying_metadata": [ "service.name" ], "first_seen": "2024-04-17T08:00:00.000Z", "last_seen": "2024-04-17T08:14:00.000Z", "signalTypes": { "asset.traces": true } }, "service": { "environment": "Synthtrace: traces_logs_assets", "name": "synth-node-1", "node": { "name": "instance" }, "language": {} } } }, { "_index": "assets", "_id": "Y9x-FY8BEwTL0kdepnZC", "_score": 1, "_source": { "asset": { "id": "synth-node-2", "type": "service", "identifying_metadata": [ "service.name" ], "first_seen": "2024-04-17T08:00:00.000Z", "last_seen": "2024-04-17T08:14:00.000Z", "signalTypes": { "asset.traces": true } }, "service": { "environment": "Synthtrace: traces_logs_assets", "name": "synth-node-2", "node": { "name": "instance" }, "language": {} } } }, { "_index": "assets", "_id": "ZNx-FY8BEwTL0kdepnZC", "_score": 1, "_source": { "asset": { "id": "synth-java", "type": "service", "identifying_metadata": [ "service.name" ], "first_seen": "2024-04-17T08:00:00.000Z", "last_seen": "2024-04-17T08:14:00.000Z", "signalTypes": { "asset.logs": true } }, "service": { "name": "synth-java" } } } ] ``` Updates: - After talking to @tommyers-elastic we agreed to remove the `asset.signalTypes` field and add `has_traces` and `has_logs`. Mainly because updating list type field in ES is hard. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
yuliacech
pushed a commit
to yuliacech/kibana
that referenced
this issue
May 3, 2024
…astic#181387) closes elastic#180932 closes elastic#180943 Running it: ``` node scripts/synthtrace.js traces_logs_assets.ts --clean --from=2024-04-17T08:00:00.000Z --to=2024-04-17T08:15:00.000Z --logLevel=debug ``` `assets` index output based on the scenario (traces_logs_assets): ``` "hits": [ { "_index": "assets", "_id": "Ydx-FY8BEwTL0kdepnZC", "_score": 1, "_source": { "asset": { "id": "synth-node-0", "type": "service", "identifying_metadata": [ "service.name" ], "first_seen": "2024-04-17T08:00:00.000Z", "last_seen": "2024-04-17T08:14:00.000Z", "signalTypes": { "asset.traces": true, "asset.logs": true } }, "service": { "environment": "Synthtrace: traces_logs_assets", "name": "synth-node-0", "node": { "name": "instance" }, "language": {} } } }, { "_index": "assets", "_id": "Ytx-FY8BEwTL0kdepnZC", "_score": 1, "_source": { "asset": { "id": "synth-node-1", "type": "service", "identifying_metadata": [ "service.name" ], "first_seen": "2024-04-17T08:00:00.000Z", "last_seen": "2024-04-17T08:14:00.000Z", "signalTypes": { "asset.traces": true } }, "service": { "environment": "Synthtrace: traces_logs_assets", "name": "synth-node-1", "node": { "name": "instance" }, "language": {} } } }, { "_index": "assets", "_id": "Y9x-FY8BEwTL0kdepnZC", "_score": 1, "_source": { "asset": { "id": "synth-node-2", "type": "service", "identifying_metadata": [ "service.name" ], "first_seen": "2024-04-17T08:00:00.000Z", "last_seen": "2024-04-17T08:14:00.000Z", "signalTypes": { "asset.traces": true } }, "service": { "environment": "Synthtrace: traces_logs_assets", "name": "synth-node-2", "node": { "name": "instance" }, "language": {} } } }, { "_index": "assets", "_id": "ZNx-FY8BEwTL0kdepnZC", "_score": 1, "_source": { "asset": { "id": "synth-java", "type": "service", "identifying_metadata": [ "service.name" ], "first_seen": "2024-04-17T08:00:00.000Z", "last_seen": "2024-04-17T08:14:00.000Z", "signalTypes": { "asset.logs": true } }, "service": { "name": "synth-java" } } } ] ``` Updates: - After talking to @tommyers-elastic we agreed to remove the `asset.signalTypes` field and add `has_traces` and `has_logs`. Mainly because updating list type field in ES is hard. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New value added to drive a business result
Team:obs-ux-infra_services
Observability Infrastructure & Services User Experience Team
Asset schema:
The text was updated successfully, but these errors were encountered: