mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
# Backport This will backport the following commits from `main` to `9.0`: - [[APM] Removing file (#216708)](https://github.com/elastic/kibana/pull/216708) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Cauê Marcondes","email":"55978943+cauemarcondes@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-04-01T20:50:49Z","message":"[APM] Removing file (#216708)\n\nRemoving a file that was accidentally merged on this\n[PR](https://github.com/elastic/kibana/pull/215819).","sha":"f2aa2012fca9f47db5d5f50600de918c9282f465","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","ci:project-deploy-observability","v9.1.0"],"title":"[APM] Removing file","number":216708,"url":"https://github.com/elastic/kibana/pull/216708","mergeCommit":{"message":"[APM] Removing file (#216708)\n\nRemoving a file that was accidentally merged on this\n[PR](https://github.com/elastic/kibana/pull/215819).","sha":"f2aa2012fca9f47db5d5f50600de918c9282f465"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/216708","number":216708,"mergeCommit":{"message":"[APM] Removing file (#216708)\n\nRemoving a file that was accidentally merged on this\n[PR](https://github.com/elastic/kibana/pull/215819).","sha":"f2aa2012fca9f47db5d5f50600de918c9282f465"}}]}] BACKPORT-->
This commit is contained in:
parent
6956c54738
commit
27d2fe72e8
1 changed files with 0 additions and 406 deletions
|
@ -1,406 +0,0 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`transaction queries fetches a transaction 1`] = `
|
||||
Object {
|
||||
"apm": Object {
|
||||
"sources": Array [
|
||||
Object {
|
||||
"documentType": "transactionEvent",
|
||||
"rollupInterval": "none",
|
||||
},
|
||||
],
|
||||
},
|
||||
"body": Object {
|
||||
"_source": Array [
|
||||
"span.links",
|
||||
"transaction.marks.agent",
|
||||
],
|
||||
"fields": Array [
|
||||
"trace.id",
|
||||
"agent.name",
|
||||
"processor.event",
|
||||
"@timestamp",
|
||||
"timestamp.us",
|
||||
"service.name",
|
||||
"transaction.id",
|
||||
"transaction.duration.us",
|
||||
"transaction.name",
|
||||
"transaction.sampled",
|
||||
"transaction.type",
|
||||
"processor.name",
|
||||
"service.language.name",
|
||||
"url.full",
|
||||
"transaction.page.url",
|
||||
"http.response.status_code",
|
||||
"http.request.method",
|
||||
"user_agent.name",
|
||||
],
|
||||
"query": Object {
|
||||
"bool": Object {
|
||||
"filter": Array [
|
||||
Object {
|
||||
"term": Object {
|
||||
"transaction.id": "foo",
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"term": Object {
|
||||
"trace.id": "bar",
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"range": Object {
|
||||
"@timestamp": Object {
|
||||
"format": "epoch_millis",
|
||||
"gte": 0,
|
||||
"lte": 50000,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
"size": 1,
|
||||
"terminate_after": 1,
|
||||
"track_total_hits": false,
|
||||
},
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`transaction queries fetches breakdown data for transactions 1`] = `
|
||||
Object {
|
||||
"apm": Object {
|
||||
"events": Array [
|
||||
"metric",
|
||||
],
|
||||
},
|
||||
"body": Object {
|
||||
"aggs": Object {
|
||||
"by_date": Object {
|
||||
"aggs": Object {
|
||||
"sum_all_self_times": Object {
|
||||
"sum": Object {
|
||||
"field": "span.self_time.sum.us",
|
||||
},
|
||||
},
|
||||
"types": Object {
|
||||
"aggs": Object {
|
||||
"subtypes": Object {
|
||||
"aggs": Object {
|
||||
"total_self_time_per_subtype": Object {
|
||||
"sum": Object {
|
||||
"field": "span.self_time.sum.us",
|
||||
},
|
||||
},
|
||||
},
|
||||
"terms": Object {
|
||||
"field": "span.subtype",
|
||||
"missing": "",
|
||||
"order": Object {
|
||||
"_count": "desc",
|
||||
},
|
||||
"size": 20,
|
||||
},
|
||||
},
|
||||
},
|
||||
"terms": Object {
|
||||
"field": "span.type",
|
||||
"order": Object {
|
||||
"_count": "desc",
|
||||
},
|
||||
"size": 20,
|
||||
},
|
||||
},
|
||||
},
|
||||
"date_histogram": Object {
|
||||
"extended_bounds": Object {
|
||||
"max": 50000,
|
||||
"min": 0,
|
||||
},
|
||||
"field": "@timestamp",
|
||||
"fixed_interval": "30s",
|
||||
"min_doc_count": 0,
|
||||
},
|
||||
},
|
||||
"sum_all_self_times": Object {
|
||||
"sum": Object {
|
||||
"field": "span.self_time.sum.us",
|
||||
},
|
||||
},
|
||||
"types": Object {
|
||||
"aggs": Object {
|
||||
"subtypes": Object {
|
||||
"aggs": Object {
|
||||
"total_self_time_per_subtype": Object {
|
||||
"sum": Object {
|
||||
"field": "span.self_time.sum.us",
|
||||
},
|
||||
},
|
||||
},
|
||||
"terms": Object {
|
||||
"field": "span.subtype",
|
||||
"missing": "",
|
||||
"order": Object {
|
||||
"_count": "desc",
|
||||
},
|
||||
"size": 20,
|
||||
},
|
||||
},
|
||||
},
|
||||
"terms": Object {
|
||||
"field": "span.type",
|
||||
"order": Object {
|
||||
"_count": "desc",
|
||||
},
|
||||
"size": 20,
|
||||
},
|
||||
},
|
||||
},
|
||||
"query": Object {
|
||||
"bool": Object {
|
||||
"filter": Array [
|
||||
Object {
|
||||
"term": Object {
|
||||
"service.name": "foo",
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"term": Object {
|
||||
"transaction.type": "bar",
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"range": Object {
|
||||
"@timestamp": Object {
|
||||
"format": "epoch_millis",
|
||||
"gte": 0,
|
||||
"lte": 50000,
|
||||
},
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"exists": Object {
|
||||
"field": "span.self_time.sum.us",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
"size": 0,
|
||||
"track_total_hits": false,
|
||||
},
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`transaction queries fetches breakdown data for transactions for a transaction name 1`] = `
|
||||
Object {
|
||||
"apm": Object {
|
||||
"events": Array [
|
||||
"metric",
|
||||
],
|
||||
},
|
||||
"body": Object {
|
||||
"aggs": Object {
|
||||
"by_date": Object {
|
||||
"aggs": Object {
|
||||
"sum_all_self_times": Object {
|
||||
"sum": Object {
|
||||
"field": "span.self_time.sum.us",
|
||||
},
|
||||
},
|
||||
"types": Object {
|
||||
"aggs": Object {
|
||||
"subtypes": Object {
|
||||
"aggs": Object {
|
||||
"total_self_time_per_subtype": Object {
|
||||
"sum": Object {
|
||||
"field": "span.self_time.sum.us",
|
||||
},
|
||||
},
|
||||
},
|
||||
"terms": Object {
|
||||
"field": "span.subtype",
|
||||
"missing": "",
|
||||
"order": Object {
|
||||
"_count": "desc",
|
||||
},
|
||||
"size": 20,
|
||||
},
|
||||
},
|
||||
},
|
||||
"terms": Object {
|
||||
"field": "span.type",
|
||||
"order": Object {
|
||||
"_count": "desc",
|
||||
},
|
||||
"size": 20,
|
||||
},
|
||||
},
|
||||
},
|
||||
"date_histogram": Object {
|
||||
"extended_bounds": Object {
|
||||
"max": 50000,
|
||||
"min": 0,
|
||||
},
|
||||
"field": "@timestamp",
|
||||
"fixed_interval": "30s",
|
||||
"min_doc_count": 0,
|
||||
},
|
||||
},
|
||||
"sum_all_self_times": Object {
|
||||
"sum": Object {
|
||||
"field": "span.self_time.sum.us",
|
||||
},
|
||||
},
|
||||
"types": Object {
|
||||
"aggs": Object {
|
||||
"subtypes": Object {
|
||||
"aggs": Object {
|
||||
"total_self_time_per_subtype": Object {
|
||||
"sum": Object {
|
||||
"field": "span.self_time.sum.us",
|
||||
},
|
||||
},
|
||||
},
|
||||
"terms": Object {
|
||||
"field": "span.subtype",
|
||||
"missing": "",
|
||||
"order": Object {
|
||||
"_count": "desc",
|
||||
},
|
||||
"size": 20,
|
||||
},
|
||||
},
|
||||
},
|
||||
"terms": Object {
|
||||
"field": "span.type",
|
||||
"order": Object {
|
||||
"_count": "desc",
|
||||
},
|
||||
"size": 20,
|
||||
},
|
||||
},
|
||||
},
|
||||
"query": Object {
|
||||
"bool": Object {
|
||||
"filter": Array [
|
||||
Object {
|
||||
"term": Object {
|
||||
"service.name": "foo",
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"term": Object {
|
||||
"transaction.type": "bar",
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"range": Object {
|
||||
"@timestamp": Object {
|
||||
"format": "epoch_millis",
|
||||
"gte": 0,
|
||||
"lte": 50000,
|
||||
},
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"exists": Object {
|
||||
"field": "span.self_time.sum.us",
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"term": Object {
|
||||
"transaction.name": "baz",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
"size": 0,
|
||||
"track_total_hits": false,
|
||||
},
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`transaction queries fetches transaction trace samples 1`] = `
|
||||
Object {
|
||||
"_source": Array [
|
||||
"transaction.id",
|
||||
"trace.id",
|
||||
"@timestamp",
|
||||
],
|
||||
"apm": Object {
|
||||
"events": Array [
|
||||
"transaction",
|
||||
],
|
||||
},
|
||||
"body": Object {
|
||||
"fields": Array [
|
||||
"transaction.id",
|
||||
"trace.id",
|
||||
"@timestamp",
|
||||
],
|
||||
"query": Object {
|
||||
"bool": Object {
|
||||
"filter": Array [
|
||||
Object {
|
||||
"term": Object {
|
||||
"service.name": "foo",
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"term": Object {
|
||||
"transaction.type": "baz",
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"term": Object {
|
||||
"transaction.name": "bar",
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"range": Object {
|
||||
"@timestamp": Object {
|
||||
"format": "epoch_millis",
|
||||
"gte": 0,
|
||||
"lte": 50000,
|
||||
},
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"term": Object {
|
||||
"transaction.sampled": true,
|
||||
},
|
||||
},
|
||||
],
|
||||
"should": Array [
|
||||
Object {
|
||||
"term": Object {
|
||||
"trace.id": "qux",
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"term": Object {
|
||||
"transaction.id": "quz",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
"size": 500,
|
||||
"sort": Array [
|
||||
Object {
|
||||
"_score": Object {
|
||||
"order": "desc",
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"@timestamp": Object {
|
||||
"order": "desc",
|
||||
},
|
||||
},
|
||||
],
|
||||
"track_total_hits": false,
|
||||
},
|
||||
}
|
||||
`;
|
Loading…
Add table
Add a link
Reference in a new issue