The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
grafana/public/app/plugins/datasource/tempo/test/testResponse.ts

2601 lines
58 KiB

import { FieldType, MutableDataFrame } from '@grafana/data';
export const bigResponse = new MutableDataFrame({
fields: [
{
name: 'traceID',
values: [
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
'04450900759028499335',
],
},
{
name: 'spanID',
values: [
'4322526419282105830',
'3095626263385822295',
'6397320272727147889',
'1853508259384889601',
'835290848278351608',
'5850531882244692375',
'663601651643245598',
'7501257416198979329',
'197793019475688138',
'1615811285828848458',
'4574624098918415850',
'7514953483465123028',
'8952478937948910109',
'4807320274580307678',
'3568196851335088191',
'8875894577931816561',
'797350946023907600',
'3198122728676260175',
'2528859115168229623',
'2108752984455624810',
'4343095775387093037',
'8751049139444653283',
'7753188085660872705',
'879502345235818407',
'3139747016493009985',
'7783241608507301178',
'1799838932837912875',
'4045260340056550643',
'4790760741274015949',
'4450900759028499335',
],
},
{
name: 'parentSpanID',
values: [
'3095626263385822295',
'3198122728676260175',
'7501257416198979329',
'663601651643245598',
'5850531882244692375',
'663601651643245598',
'7501257416198979329',
'197793019475688138',
'1615811285828848458',
'3198122728676260175',
'8875894577931816561',
'3568196851335088191',
'4807320274580307678',
'3568196851335088191',
'8875894577931816561',
'797350946023907600',
'3198122728676260175',
'1799838932837912875',
'4343095775387093037',
'4343095775387093037',
'8751049139444653283',
'1799838932837912875',
'3139747016493009985',
'3139747016493009985',
'7783241608507301178',
'1799838932837912875',
'4045260340056550643',
'4790760741274015949',
'4450900759028499335',
'',
],
},
{
name: 'operationName',
values: [
'store.validateQueryTimeRange',
'store.validateQuery',
'cachingIndexClient.cacheFetch',
'Shipper.Uploads.Query',
'Shipper.Downloads.Table.MultiQueries',
'Shipper.Downloads.Query',
'QUERY',
'store.lookupEntriesByQueries',
'Store.lookupIdsByMetricNameMatcher',
'SeriesStore.lookupSeriesByMetricNameMatchers',
'cachingIndexClient.cacheFetch',
'Shipper.Uploads.Query',
'Shipper.Downloads.Table.MultiQueries',
'Shipper.Downloads.Query',
'QUERY',
'store.lookupEntriesByQueries',
'SeriesStore.lookupChunksBySeries',
'SeriesStore.GetChunkRefs',
'Fetcher.processCacheResponse',
'GetParallelChunks',
'ChunkStore.FetchChunks',
'LokiStore.fetchLazyChunks',
'Fetcher.processCacheResponse',
'GetParallelChunks',
'ChunkStore.FetchChunks',
'LokiStore.fetchLazyChunks',
'/logproto.Querier/Query',
'/logproto.Querier/Query',
'query.Exec',
'HTTP GET - loki_api_v1_query_range',
],
},
{
name: 'serviceName',
values: [
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
'loki-all',
],
},
{
name: 'serviceTags',
values: [
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
[
{
value: 'loki-all',
key: 'service.name',
},
{
value: 'Jaeger-Go-2.25.0',
key: 'opencensus.exporterversion',
},
{
value: '708c78ea08c1',
key: 'host.hostname',
},
{
value: '172.18.0.3',
key: 'ip',
},
{
value: '632583de9a4a497b',
key: 'client-uuid',
},
],
],
},
{
name: 'startTime',
values: [
1619712655875.4539, 1619712655875.4502, 1619712655875.592, 1619712655875.653, 1619712655875.731,
1619712655875.712, 1619712655875.6428, 1619712655875.5771, 1619712655875.5168, 1619712655875.488,
1619712655875.939, 1619712655875.959, 1619712655876.0051, 1619712655875.991, 1619712655875.9539,
1619712655875.9338, 1619712655875.917, 1619712655875.442, 1619712655876.365, 1619712655876.3809,
1619712655876.359, 1619712655876.331, 1619712655876.62, 1619712655876.629, 1619712655876.616, 1619712655876.592,
1619712655875.052, 1619712655874.819, 1619712655874.7021, 1619712655874.591,
],
},
{
name: 'duration',
values: [
0.004, 0.016, 0.039, 0.047, 0.063, 0.087, 0.163, 0.303, 0.384, 0.421, 0.012, 0.021, 0.033, 0.048, 0.092, 0.169,
0.197, 0.689, 0.012, 0.196, 0.225, 0.255, 0.007, 0.167, 0.189, 0.217, 13.918, 14.723, 14.984, 18.208,
],
},
{
name: 'logs',
values: [
null,
null,
[
{
timestamp: 1619712655875.631,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 0,
key: 'hits',
},
{
value: 16,
key: 'misses',
},
],
},
],
null,
[
{
timestamp: 1619712655875.738,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 'index_18746',
key: 'table-name',
},
{
value: 16,
key: 'query-count',
},
],
},
{
timestamp: 1619712655875.773,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 'compactor-1619711145.gz',
key: 'queried-db',
},
],
},
{
timestamp: 1619712655875.794,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: '708c78ea08c1-1619516350042748959-1619711100.gz',
key: 'queried-db',
},
],
},
],
[
{
timestamp: 1619712655875.719,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 'index_18746',
key: 'table-name',
},
],
},
],
[
{
timestamp: 1619712655875.7068,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 'uploads-manager',
key: 'queried',
},
],
},
{
timestamp: 1619712655875.803,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 'downloads-manager',
key: 'queried',
},
],
},
],
null,
[
{
timestamp: 1619712655875.536,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 'logs',
key: 'metricName',
},
{
value: 'compose_project="devenv"',
key: 'matcher',
},
],
},
{
timestamp: 1619712655875.568,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 'compose_project="devenv"',
key: 'matcher',
},
{
value: 16,
key: 'queries',
},
],
},
{
timestamp: 1619712655875.5762,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 'compose_project="devenv"',
key: 'matcher',
},
{
value: 16,
key: 'filteredQueries',
},
],
},
{
timestamp: 1619712655875.892,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 'compose_project="devenv"',
key: 'matcher',
},
{
value: 2,
key: 'entries',
},
],
},
{
timestamp: 1619712655875.9019,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 'compose_project="devenv"',
key: 'matcher',
},
{
value: 1,
key: 'ids',
},
],
},
],
[
{
timestamp: 1619712655875.4958,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 'logs',
key: 'metricName',
},
{
value: 1,
key: 'matchers',
},
],
},
{
timestamp: 1619712655875.9092,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 'post intersection',
key: 'msg',
},
{
value: 1,
key: 'ids',
},
],
},
],
[
{
timestamp: 1619712655875.9512,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 0,
key: 'hits',
},
{
value: 1,
key: 'misses',
},
],
},
],
null,
[
{
timestamp: 1619712655876.012,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 'index_18746',
key: 'table-name',
},
{
value: 1,
key: 'query-count',
},
],
},
{
timestamp: 1619712655876.031,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 'compactor-1619711145.gz',
key: 'queried-db',
},
],
},
{
timestamp: 1619712655876.0378,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: '708c78ea08c1-1619516350042748959-1619711100.gz',
key: 'queried-db',
},
],
},
],
[
{
timestamp: 1619712655875.999,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 'index_18746',
key: 'table-name',
},
],
},
],
[
{
timestamp: 1619712655875.988,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 'uploads-manager',
key: 'queried',
},
],
},
{
timestamp: 1619712655876.0452,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 'downloads-manager',
key: 'queried',
},
],
},
],
null,
[
{
timestamp: 1619712655875.925,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 1,
key: 'seriesIDs',
},
],
},
{
timestamp: 1619712655875.9329,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 1,
key: 'queries',
},
],
},
{
timestamp: 1619712655876.1118,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 2,
key: 'entries',
},
],
},
],
[
{
timestamp: 1619712655875.4849,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 'logs',
key: 'metric',
},
],
},
{
timestamp: 1619712655875.915,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 1,
key: 'series-ids',
},
],
},
{
timestamp: 1619712655876.12,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 2,
key: 'chunk-ids',
},
],
},
{
timestamp: 1619712655876.131,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 2,
key: 'chunks-post-filtering',
},
],
},
],
[
{
timestamp: 1619712655876.375,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 1,
key: 'chunks',
},
{
value: 0,
key: 'decodeRequests',
},
{
value: 1,
key: 'missing',
},
],
},
],
[
{
timestamp: 1619712655876.384,
fields: [
{
value: 1,
key: 'chunks requested',
},
],
},
{
timestamp: 1619712655876.577,
fields: [
{
value: 1,
key: 'chunks fetched',
},
],
},
],
null,
[
{
timestamp: 1619712655876.342,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 'loading lazy chunks',
key: 'msg',
},
{
value: 1,
key: 'chunks',
},
],
},
],
[
{
timestamp: 1619712655876.627,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 1,
key: 'chunks',
},
{
value: 0,
key: 'decodeRequests',
},
{
value: 1,
key: 'missing',
},
],
},
],
[
{
timestamp: 1619712655876.631,
fields: [
{
value: 1,
key: 'chunks requested',
},
],
},
{
timestamp: 1619712655876.795,
fields: [
{
value: 1,
key: 'chunks fetched',
},
],
},
],
null,
[
{
timestamp: 1619712655876.604,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 'loading lazy chunks',
key: 'msg',
},
{
value: 1,
key: 'chunks',
},
],
},
],
null,
null,
[
{
timestamp: 1619712655889.606,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: 1,
key: 'Ingester.TotalReached',
},
{
value: 1,
key: 'Ingester.TotalChunksMatched',
},
{
value: 0,
key: 'Ingester.TotalBatches',
},
{
value: 0,
key: 'Ingester.TotalLinesSent',
},
{
value: '47 kB',
key: 'Ingester.HeadChunkBytes',
},
{
value: 424,
key: 'Ingester.HeadChunkLines',
},
{
value: '219 kB',
key: 'Ingester.DecompressedBytes',
},
{
value: 1679,
key: 'Ingester.DecompressedLines',
},
{
value: '124 kB',
key: 'Ingester.CompressedBytes',
},
{
value: 0,
key: 'Ingester.TotalDuplicates',
},
{
value: 0,
key: 'Store.TotalChunksRef',
},
{
value: 0,
key: 'Store.TotalChunksDownloaded',
},
{
value: '0s',
key: 'Store.ChunksDownloadTime',
},
{
value: '0 B',
key: 'Store.HeadChunkBytes',
},
{
value: 0,
key: 'Store.HeadChunkLines',
},
{
value: '0 B',
key: 'Store.DecompressedBytes',
},
{
value: 0,
key: 'Store.DecompressedLines',
},
{
value: '0 B',
key: 'Store.CompressedBytes',
},
{
value: 0,
key: 'Store.TotalDuplicates',
},
],
},
{
timestamp: 1619712655889.617,
fields: [
{
value: 'debug',
key: 'level',
},
{
value: '18 MB',
key: 'Summary.BytesProcessedPerSecond',
},
{
value: 141753,
key: 'Summary.LinesProcessedPerSecond',
},
{
value: '266 kB',
key: 'Summary.TotalBytesProcessed',
},
{
value: 2103,
key: 'Summary.TotalLinesProcessed',
},
{
value: '14.835651ms',
key: 'Summary.ExecTime',
},
],
},
],
null,
],
},
{
name: 'tags',
values: [
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 'fake',
key: 'organization',
},
{
value: 'client',
key: 'span.kind',
},
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 'fake',
key: 'organization',
},
{
value: 'client',
key: 'span.kind',
},
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 'gRPC',
key: 'component',
},
{
value: 'server',
key: 'span.kind',
},
{
value: 0,
key: 'status.code',
},
],
[
{
value: 'gRPC',
key: 'component',
},
{
value: 'client',
key: 'span.kind',
},
{
value: 0,
key: 'status.code',
},
],
[
{
value: 0,
key: 'status.code',
},
],
[
{
value: 'const',
key: 'sampler.type',
},
{
value: true,
key: 'sampler.param',
},
{
value: 200,
key: 'http.status_code',
},
{
value: 'GET',
key: 'http.method',
},
{
value:
'/loki/api/v1/query_range?direction=BACKWARD&limit=1000&query=%7Bcompose_project%3D%22devenv%22%7D&start=1619709055000000000&end=1619712656000000000&step=2',
key: 'http.url',
},
{
value: 'net/http',
key: 'component',
},
{
value: 'server',
key: 'span.kind',
},
{
value: 0,
key: 'status.code',
},
],
],
},
],
});
export const otlpDataFrameFromResponse = new MutableDataFrame({
meta: {
preferredVisualisationType: 'trace',
custom: {
traceFormat: 'otlp',
},
},
fields: [
{
name: 'traceID',
type: FieldType.string,
config: {},
values: ['60ba2abb44f13eae'],
},
{
name: 'spanID',
type: FieldType.string,
config: {},
values: ['726b5e30102fc0d0'],
},
{
name: 'parentSpanID',
type: FieldType.string,
config: {},
values: ['398f0f21a3db99ae'],
},
{
name: 'operationName',
type: FieldType.string,
config: {},
values: ['HTTP GET - root'],
},
{
name: 'serviceName',
type: FieldType.string,
config: {},
values: ['db'],
},
{
name: 'kind',
type: FieldType.string,
config: {},
values: ['client'],
},
{
name: 'statusCode',
type: FieldType.number,
config: {},
values: [2],
},
{
name: 'statusMessage',
type: FieldType.string,
config: {},
values: ['message'],
},
{
name: 'instrumentationLibraryName',
type: FieldType.string,
config: {},
values: ['libraryName'],
},
{
name: 'instrumentationLibraryVersion',
type: FieldType.string,
config: {},
values: ['libraryVersion'],
},
{
name: 'traceState',
type: FieldType.string,
config: {},
values: ['traceState'],
},
{
name: 'serviceTags',
type: FieldType.other,
config: {},
values: [
[
{
key: 'service.name',
value: 'db',
},
{
key: 'job',
value: 'tns/db',
},
{
key: 'opencensus.exporterversion',
value: 'Jaeger-Go-2.22.1',
},
{
key: 'host.name',
value: '63d16772b4a2',
},
{
key: 'ip',
value: '0.0.0.0',
},
{
key: 'client-uuid',
value: '39fb01637a579639',
},
],
],
},
{
name: 'startTime',
type: FieldType.number,
config: {},
values: [1627471657255.809],
},
{
name: 'duration',
type: FieldType.number,
config: {},
values: [0.459008],
},
{
name: 'logs',
type: FieldType.other,
config: {},
values: [[{ name: 'DNSDone', fields: [{ key: 'addr', value: '172.18.0.6' }] }]],
},
{
name: 'references',
type: FieldType.other,
config: {},
values: [
[
{
spanID: 'spanId',
traceID: 'traceId',
tags: [
{ key: 'key', value: 'Value' },
{ key: 'intValue', value: 4 },
],
},
{
spanID: 'spanId2',
traceID: 'traceId2',
tags: [],
},
],
],
},
{
name: 'tags',
type: FieldType.other,
config: {},
values: [
[
{
key: 'http.status_code',
value: 200,
},
{
key: 'http.method',
value: 'GET',
},
{
key: 'http.url',
value: '/',
},
{
key: 'component',
value: 'net/http',
},
],
],
},
],
length: 1,
});
export const otlpDataFrameToResponse = new MutableDataFrame({
meta: {
preferredVisualisationType: 'trace',
custom: {
traceFormat: 'otlp',
},
},
fields: [
{
name: 'traceID',
type: FieldType.string,
config: {},
values: ['60ba2abb44f13eae'],
state: {
displayName: 'traceID',
},
},
{
name: 'spanID',
type: FieldType.string,
config: {},
values: ['726b5e30102fc0d0'],
state: {
displayName: 'spanID',
},
},
{
name: 'parentSpanID',
type: FieldType.string,
config: {},
values: ['398f0f21a3db99ae'],
state: {
displayName: 'parentSpanID',
},
},
{
name: 'operationName',
type: FieldType.string,
config: {},
values: ['HTTP GET - root'],
state: {
displayName: 'operationName',
},
},
{
name: 'serviceName',
type: FieldType.string,
config: {},
values: ['db'],
state: {
displayName: 'serviceName',
},
},
{
name: 'kind',
type: FieldType.string,
config: {},
values: ['client'],
state: {
displayName: 'kind',
},
},
{
name: 'statusCode',
type: FieldType.number,
config: {},
values: [2],
state: {
displayName: 'statusCode',
},
},
{
name: 'statusMessage',
type: FieldType.string,
config: {},
values: ['message'],
state: {
displayName: 'statusMessage',
},
},
{
name: 'instrumentationLibraryName',
type: FieldType.string,
config: {},
values: ['libraryName'],
state: {
displayName: 'instrumentationLibraryName',
},
},
{
name: 'instrumentationLibraryVersion',
type: FieldType.string,
config: {},
values: ['libraryVersion'],
state: {
displayName: 'instrumentationLibraryVersion',
},
},
{
name: 'traceState',
type: FieldType.string,
config: {},
values: ['traceState'],
state: {
displayName: 'traceState',
},
},
{
name: 'serviceTags',
type: FieldType.other,
config: {},
values: [
[
{
key: 'service.name',
value: 'db',
},
{
key: 'job',
value: 'tns/db',
},
{
key: 'opencensus.exporterversion',
value: 'Jaeger-Go-2.22.1',
},
{
key: 'host.name',
value: '63d16772b4a2',
},
{
key: 'ip',
value: '0.0.0.0',
},
{
key: 'client-uuid',
value: '39fb01637a579639',
},
],
],
state: {
displayName: 'serviceTags',
},
},
{
name: 'startTime',
type: FieldType.number,
config: {},
values: [1627471657255.809],
state: {
displayName: 'startTime',
},
},
{
name: 'duration',
type: FieldType.number,
config: {},
values: [0.459008],
state: {
displayName: 'duration',
},
},
{
name: 'logs',
type: FieldType.other,
config: {},
values: [
[
{
fields: [
{
key: 'addr',
value: '172.18.0.6',
},
],
timestamp: 1627471657255.809,
name: 'DNSDone',
},
],
],
state: {
displayName: 'logs',
},
},
{
name: 'tags',
type: FieldType.other,
config: {},
values: [
[
{
key: 'http.status_code',
value: 200,
},
{
key: 'http.method',
value: 'GET',
},
{
key: 'http.url',
value: '/',
},
{
key: 'component',
value: 'net/http',
},
],
],
state: {
displayName: 'tags',
},
},
{
name: 'references',
type: FieldType.other,
config: {},
labels: undefined,
values: [
[
{
spanID: 'spanId',
traceID: 'traceId',
tags: [
{ key: 'key', value: 'Value' },
{ key: 'intValue', value: 4 },
],
},
{
spanID: 'spanId2',
traceID: 'traceId2',
tags: [],
},
],
],
state: {
displayName: 'references',
},
},
],
length: 1,
});
export const otlpResponse = {
batches: [
{
resource: {
attributes: [
{ key: 'service.name', value: { stringValue: 'db' } },
{ key: 'job', value: { stringValue: 'tns/db' } },
{ key: 'opencensus.exporterversion', value: { stringValue: 'Jaeger-Go-2.22.1' } },
{ key: 'host.name', value: { stringValue: '63d16772b4a2' } },
{ key: 'ip', value: { stringValue: '0.0.0.0' } },
{ key: 'client-uuid', value: { stringValue: '39fb01637a579639' } },
],
},
instrumentationLibrarySpans: [
{
instrumentationLibrary: {
name: 'libraryName',
version: 'libraryVersion',
},
spans: [
{
traceId: '000000000000000060ba2abb44f13eae',
spanId: '726b5e30102fc0d0',
parentSpanId: '398f0f21a3db99ae',
name: 'HTTP GET - root',
kind: 'SPAN_KIND_CLIENT',
status: {
code: 2,
message: 'message',
},
traceState: 'traceState',
startTimeUnixNano: 1627471657255809000,
endTimeUnixNano: 1627471657256268000,
attributes: [
{ key: 'http.status_code', value: { intValue: 200 } },
{ key: 'http.method', value: { stringValue: 'GET' } },
{ key: 'http.url', value: { stringValue: '/' } },
{ key: 'component', value: { stringValue: 'net/http' } },
],
events: [
{
name: 'DNSDone',
attributes: [{ key: 'addr', value: { stringValue: '172.18.0.6' } }],
droppedAttributesCount: 0,
timeUnixNano: 1627471657255809000,
},
],
links: [
{
spanId: 'spanId',
traceId: 'traceId',
attributes: [
{
key: 'key',
value: {
stringValue: 'Value',
},
},
{
key: 'intValue',
value: {
intValue: 4,
},
},
],
},
{
spanId: 'spanId2',
traceId: 'traceId2',
attributes: [],
},
],
},
],
},
],
},
],
};
export const traceQlResponse = {
traces: [
{
traceID: 'b1586c3c8c34d',
rootServiceName: 'lb',
rootTraceName: 'HTTP Client',
startTimeUnixNano: '1643356828724000000',
durationMs: 65,
spanSet: {
spans: [
{
spanID: '162a4adae63b61f1',
startTimeUnixNano: '1666188214303201000',
durationNanos: '545000',
attributes: [
{
key: 'http.method',
value: {
stringValue: 'GET',
},
},
{
key: 'service.name',
value: {
stringValue: 'db',
},
},
],
},
{
spanID: '15991be3a92136e6',
startTimeUnixNano: '1666188214300239000',
durationNanos: '6686000',
attributes: [
{
key: 'http.method',
value: {
stringValue: 'GET',
},
},
{
key: 'service.name',
value: {
stringValue: 'app',
},
},
],
},
{
spanID: '5e91b69dc224c240',
startTimeUnixNano: '1666188214300647000',
durationNanos: '6043000',
attributes: [
{
key: 'http.method',
value: {
stringValue: 'GET',
},
},
{
key: 'service.name',
value: {
stringValue: 'app',
},
},
],
},
{
spanID: '29f218a50b00c306',
startTimeUnixNano: '1666188214297891000',
durationNanos: '8365000',
attributes: [
{
key: 'http.method',
value: {
stringValue: 'GET',
},
},
{
key: 'service.name',
value: {
stringValue: 'lb',
},
},
],
},
],
matched: 4,
},
},
{
traceID: '9161e77388f3e',
rootServiceName: 'lb',
rootTraceName: 'HTTP Client',
startTimeUnixNano: '1643342166678000000',
Table: Support display of multiple sub tables (#71953) * Add nested option to DataFrame. Refactor Table to use nested dataframes for sub-tables * Use nested frames for TraceQL response * debugging * Fix cell text and table position * Update getItemSize * noHeader size * Update sub table renderer * Update table container height * Cleanup and fix RawPrometheusContainer height * Update resultTransformer and docker script * Updates to TableContainer, resultTransformer after merge * Fixes for table pagination in dashboards * Cell height and show footer enhancement/fix * Sub table links * Update RawPrometheusContainer * Remove console log * Update tests * Update storybook * Remove Tempo demo * Store nested data in single field via its values * Move nested prop into custom * Tempo demo * Add field type & update incorrect logic * Update docker compose image for Tempo * Update packages/grafana-data/src/field/fieldOverrides.ts Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com> * Simplify logic for getting nestedFrames and rendering sub tables * Update docs for table * Update nested table bg color * Lighten nested table bg color * Renames * Migrate frames using parentRowIndex and add deprecation notice * Update title * Align expander icon size between Table and interactive table * Table: Refactor out the expanded rows bits * fix spacing * Add line along left side for expanded rows * Disable hover row background when expanded --------- Co-authored-by: André Pereira <adrapereira@gmail.com> Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com> Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2 years ago
spanSets: [
{
attributes: [
{
key: 'by(resource.service.name)',
value: {
stringValue: 'db',
},
Table: Support display of multiple sub tables (#71953) * Add nested option to DataFrame. Refactor Table to use nested dataframes for sub-tables * Use nested frames for TraceQL response * debugging * Fix cell text and table position * Update getItemSize * noHeader size * Update sub table renderer * Update table container height * Cleanup and fix RawPrometheusContainer height * Update resultTransformer and docker script * Updates to TableContainer, resultTransformer after merge * Fixes for table pagination in dashboards * Cell height and show footer enhancement/fix * Sub table links * Update RawPrometheusContainer * Remove console log * Update tests * Update storybook * Remove Tempo demo * Store nested data in single field via its values * Move nested prop into custom * Tempo demo * Add field type & update incorrect logic * Update docker compose image for Tempo * Update packages/grafana-data/src/field/fieldOverrides.ts Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com> * Simplify logic for getting nestedFrames and rendering sub tables * Update docs for table * Update nested table bg color * Lighten nested table bg color * Renames * Migrate frames using parentRowIndex and add deprecation notice * Update title * Align expander icon size between Table and interactive table * Table: Refactor out the expanded rows bits * fix spacing * Add line along left side for expanded rows * Disable hover row background when expanded --------- Co-authored-by: André Pereira <adrapereira@gmail.com> Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com> Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2 years ago
},
],
spans: [
{
spanID: '3b9a5c222d3ddd8f',
startTimeUnixNano: '1666187875397721000',
durationNanos: '877000',
attributes: [
{
key: 'http.method',
value: {
stringValue: 'GET',
},
},
Table: Support display of multiple sub tables (#71953) * Add nested option to DataFrame. Refactor Table to use nested dataframes for sub-tables * Use nested frames for TraceQL response * debugging * Fix cell text and table position * Update getItemSize * noHeader size * Update sub table renderer * Update table container height * Cleanup and fix RawPrometheusContainer height * Update resultTransformer and docker script * Updates to TableContainer, resultTransformer after merge * Fixes for table pagination in dashboards * Cell height and show footer enhancement/fix * Sub table links * Update RawPrometheusContainer * Remove console log * Update tests * Update storybook * Remove Tempo demo * Store nested data in single field via its values * Move nested prop into custom * Tempo demo * Add field type & update incorrect logic * Update docker compose image for Tempo * Update packages/grafana-data/src/field/fieldOverrides.ts Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com> * Simplify logic for getting nestedFrames and rendering sub tables * Update docs for table * Update nested table bg color * Lighten nested table bg color * Renames * Migrate frames using parentRowIndex and add deprecation notice * Update title * Align expander icon size between Table and interactive table * Table: Refactor out the expanded rows bits * fix spacing * Add line along left side for expanded rows * Disable hover row background when expanded --------- Co-authored-by: André Pereira <adrapereira@gmail.com> Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com> Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2 years ago
{
key: 'service.name',
value: {
stringValue: 'db',
},
},
Table: Support display of multiple sub tables (#71953) * Add nested option to DataFrame. Refactor Table to use nested dataframes for sub-tables * Use nested frames for TraceQL response * debugging * Fix cell text and table position * Update getItemSize * noHeader size * Update sub table renderer * Update table container height * Cleanup and fix RawPrometheusContainer height * Update resultTransformer and docker script * Updates to TableContainer, resultTransformer after merge * Fixes for table pagination in dashboards * Cell height and show footer enhancement/fix * Sub table links * Update RawPrometheusContainer * Remove console log * Update tests * Update storybook * Remove Tempo demo * Store nested data in single field via its values * Move nested prop into custom * Tempo demo * Add field type & update incorrect logic * Update docker compose image for Tempo * Update packages/grafana-data/src/field/fieldOverrides.ts Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com> * Simplify logic for getting nestedFrames and rendering sub tables * Update docs for table * Update nested table bg color * Lighten nested table bg color * Renames * Migrate frames using parentRowIndex and add deprecation notice * Update title * Align expander icon size between Table and interactive table * Table: Refactor out the expanded rows bits * fix spacing * Add line along left side for expanded rows * Disable hover row background when expanded --------- Co-authored-by: André Pereira <adrapereira@gmail.com> Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com> Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2 years ago
],
},
],
matched: 1,
},
{
attributes: [
{
key: 'by(resource.service.name)',
value: {
stringValue: 'app',
},
Table: Support display of multiple sub tables (#71953) * Add nested option to DataFrame. Refactor Table to use nested dataframes for sub-tables * Use nested frames for TraceQL response * debugging * Fix cell text and table position * Update getItemSize * noHeader size * Update sub table renderer * Update table container height * Cleanup and fix RawPrometheusContainer height * Update resultTransformer and docker script * Updates to TableContainer, resultTransformer after merge * Fixes for table pagination in dashboards * Cell height and show footer enhancement/fix * Sub table links * Update RawPrometheusContainer * Remove console log * Update tests * Update storybook * Remove Tempo demo * Store nested data in single field via its values * Move nested prop into custom * Tempo demo * Add field type & update incorrect logic * Update docker compose image for Tempo * Update packages/grafana-data/src/field/fieldOverrides.ts Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com> * Simplify logic for getting nestedFrames and rendering sub tables * Update docs for table * Update nested table bg color * Lighten nested table bg color * Renames * Migrate frames using parentRowIndex and add deprecation notice * Update title * Align expander icon size between Table and interactive table * Table: Refactor out the expanded rows bits * fix spacing * Add line along left side for expanded rows * Disable hover row background when expanded --------- Co-authored-by: André Pereira <adrapereira@gmail.com> Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com> Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2 years ago
},
],
spans: [
{
spanID: '894d90db6b5807f',
startTimeUnixNano: '1666187875393293000',
durationNanos: '11073000',
attributes: [
{
key: 'http.method',
value: {
stringValue: 'GET',
},
},
Table: Support display of multiple sub tables (#71953) * Add nested option to DataFrame. Refactor Table to use nested dataframes for sub-tables * Use nested frames for TraceQL response * debugging * Fix cell text and table position * Update getItemSize * noHeader size * Update sub table renderer * Update table container height * Cleanup and fix RawPrometheusContainer height * Update resultTransformer and docker script * Updates to TableContainer, resultTransformer after merge * Fixes for table pagination in dashboards * Cell height and show footer enhancement/fix * Sub table links * Update RawPrometheusContainer * Remove console log * Update tests * Update storybook * Remove Tempo demo * Store nested data in single field via its values * Move nested prop into custom * Tempo demo * Add field type & update incorrect logic * Update docker compose image for Tempo * Update packages/grafana-data/src/field/fieldOverrides.ts Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com> * Simplify logic for getting nestedFrames and rendering sub tables * Update docs for table * Update nested table bg color * Lighten nested table bg color * Renames * Migrate frames using parentRowIndex and add deprecation notice * Update title * Align expander icon size between Table and interactive table * Table: Refactor out the expanded rows bits * fix spacing * Add line along left side for expanded rows * Disable hover row background when expanded --------- Co-authored-by: André Pereira <adrapereira@gmail.com> Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com> Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2 years ago
{
key: 'service.name',
value: {
stringValue: 'app',
},
},
Table: Support display of multiple sub tables (#71953) * Add nested option to DataFrame. Refactor Table to use nested dataframes for sub-tables * Use nested frames for TraceQL response * debugging * Fix cell text and table position * Update getItemSize * noHeader size * Update sub table renderer * Update table container height * Cleanup and fix RawPrometheusContainer height * Update resultTransformer and docker script * Updates to TableContainer, resultTransformer after merge * Fixes for table pagination in dashboards * Cell height and show footer enhancement/fix * Sub table links * Update RawPrometheusContainer * Remove console log * Update tests * Update storybook * Remove Tempo demo * Store nested data in single field via its values * Move nested prop into custom * Tempo demo * Add field type & update incorrect logic * Update docker compose image for Tempo * Update packages/grafana-data/src/field/fieldOverrides.ts Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com> * Simplify logic for getting nestedFrames and rendering sub tables * Update docs for table * Update nested table bg color * Lighten nested table bg color * Renames * Migrate frames using parentRowIndex and add deprecation notice * Update title * Align expander icon size between Table and interactive table * Table: Refactor out the expanded rows bits * fix spacing * Add line along left side for expanded rows * Disable hover row background when expanded --------- Co-authored-by: André Pereira <adrapereira@gmail.com> Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com> Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2 years ago
],
},
{
spanID: 'd3284e9c5081aab',
startTimeUnixNano: '1666187875393897000',
durationNanos: '10133000',
attributes: [
{
key: 'service.name',
value: {
stringValue: 'app',
},
},
Table: Support display of multiple sub tables (#71953) * Add nested option to DataFrame. Refactor Table to use nested dataframes for sub-tables * Use nested frames for TraceQL response * debugging * Fix cell text and table position * Update getItemSize * noHeader size * Update sub table renderer * Update table container height * Cleanup and fix RawPrometheusContainer height * Update resultTransformer and docker script * Updates to TableContainer, resultTransformer after merge * Fixes for table pagination in dashboards * Cell height and show footer enhancement/fix * Sub table links * Update RawPrometheusContainer * Remove console log * Update tests * Update storybook * Remove Tempo demo * Store nested data in single field via its values * Move nested prop into custom * Tempo demo * Add field type & update incorrect logic * Update docker compose image for Tempo * Update packages/grafana-data/src/field/fieldOverrides.ts Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com> * Simplify logic for getting nestedFrames and rendering sub tables * Update docs for table * Update nested table bg color * Lighten nested table bg color * Renames * Migrate frames using parentRowIndex and add deprecation notice * Update title * Align expander icon size between Table and interactive table * Table: Refactor out the expanded rows bits * fix spacing * Add line along left side for expanded rows * Disable hover row background when expanded --------- Co-authored-by: André Pereira <adrapereira@gmail.com> Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com> Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2 years ago
{
key: 'http.method',
value: {
stringValue: 'GET',
},
},
Table: Support display of multiple sub tables (#71953) * Add nested option to DataFrame. Refactor Table to use nested dataframes for sub-tables * Use nested frames for TraceQL response * debugging * Fix cell text and table position * Update getItemSize * noHeader size * Update sub table renderer * Update table container height * Cleanup and fix RawPrometheusContainer height * Update resultTransformer and docker script * Updates to TableContainer, resultTransformer after merge * Fixes for table pagination in dashboards * Cell height and show footer enhancement/fix * Sub table links * Update RawPrometheusContainer * Remove console log * Update tests * Update storybook * Remove Tempo demo * Store nested data in single field via its values * Move nested prop into custom * Tempo demo * Add field type & update incorrect logic * Update docker compose image for Tempo * Update packages/grafana-data/src/field/fieldOverrides.ts Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com> * Simplify logic for getting nestedFrames and rendering sub tables * Update docs for table * Update nested table bg color * Lighten nested table bg color * Renames * Migrate frames using parentRowIndex and add deprecation notice * Update title * Align expander icon size between Table and interactive table * Table: Refactor out the expanded rows bits * fix spacing * Add line along left side for expanded rows * Disable hover row background when expanded --------- Co-authored-by: André Pereira <adrapereira@gmail.com> Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com> Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2 years ago
],
},
],
matched: 2,
},
],
},
{
traceID: '480691f7c6f20',
rootServiceName: 'lb',
rootTraceName: 'HTTP Client',
startTimeUnixNano: '1643342166678000000',
durationMs: 44,
spanSet: {
spans: [
{
spanID: '2ab970c9db57d100',
startTimeUnixNano: '1666186467658853000',
durationNanos: '436000',
attributes: [
{
key: 'http.method',
value: {
stringValue: 'GET',
},
},
{
key: 'service.name',
value: {
stringValue: 'db',
},
},
],
},
{
spanID: '3a4070e418857cbd',
startTimeUnixNano: '1666186467657066000',
durationNanos: '5503000',
attributes: [
{
key: 'http.method',
value: {
stringValue: 'GET',
},
},
{
key: 'service.name',
value: {
stringValue: 'app',
},
},
],
},
{
spanID: '7ddf87d7a3f864c8',
startTimeUnixNano: '1666186467657336000',
durationNanos: '5005000',
attributes: [
{
key: 'http.method',
value: {
stringValue: 'GET',
},
},
{
key: 'service.name',
value: {
stringValue: 'app',
},
},
],
},
{
spanID: '241e9f31609056c5',
startTimeUnixNano: '1666186467655299000',
durationNanos: '6413000',
attributes: [
{
key: 'http.method',
value: {
stringValue: 'GET',
},
},
{
key: 'service.name',
value: {
stringValue: 'lb',
},
},
],
},
],
matched: 4,
},
},
],
metrics: {
inspectedBlocks: 5,
totalBlockBytes: '9092129',
},
};
export const badOTLPResponse = {
batches: [
{
resource: {},
instrumentationLibrarySpans: [
{
spans: [
{
traceId: 'AAAAAAAAAABguiq7RPE+rg==',
spanId: 'cmteMBAvwNA=',
parentSpanId: 'OY8PIaPbma4=',
name: 'HTTP GET - root',
kind: 'SPAN_KIND_CLIENT',
startTimeUnixNano: 1627471657255809000,
endTimeUnixNano: 1627471657256268000,
attributes: [
{ key: 'http.status_code', value: { intValue: 200 } },
{ key: 'http.method', value: { stringValue: 'GET' } },
{ key: 'http.url', value: { stringValue: '/' } },
{ key: 'component', value: { stringValue: 'net/http' } },
],
},
],
},
],
},
],
};