mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Maps] record hexagon clustering layer in telemetry (#128409)
* [Maps] record hexagon clustering layer in telemetry * update comments * telemtry_check Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
072fe63c0b
commit
310c1baffe
4 changed files with 40 additions and 0 deletions
|
@ -64,6 +64,15 @@ export function registerMapsUsageCollector(usageCollection?: UsageCollectionSetu
|
|||
_meta: { description: 'total number of es grid layers in cluster' },
|
||||
},
|
||||
},
|
||||
es_agg_hexagons: {
|
||||
min: { type: 'long', _meta: { description: 'min number of es hexagon layers per map' } },
|
||||
max: { type: 'long', _meta: { description: 'max number of es hexagon layers per map' } },
|
||||
avg: { type: 'float', _meta: { description: 'avg number of es hexagon layers per map' } },
|
||||
total: {
|
||||
type: 'long',
|
||||
_meta: { description: 'total number of es hexagon layers in cluster' },
|
||||
},
|
||||
},
|
||||
es_agg_heatmap: {
|
||||
min: { type: 'long', _meta: { description: 'min number of es heatmap layers per map' } },
|
||||
max: { type: 'long', _meta: { description: 'max number of es heatmap layers per map' } },
|
||||
|
|
|
@ -334,6 +334,8 @@ function getLayerKey(layerDescriptor: LayerDescriptor): LAYER_KEYS | null {
|
|||
return LAYER_KEYS.ES_AGG_CLUSTERS;
|
||||
} else if (sourceDescriptor.requestType === RENDER_AS.GRID) {
|
||||
return LAYER_KEYS.ES_AGG_GRIDS;
|
||||
} else if (sourceDescriptor.requestType === RENDER_AS.HEX) {
|
||||
return LAYER_KEYS.ES_AGG_HEXAGONS;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@ export enum LAYER_KEYS {
|
|||
ES_POINT_TO_POINT = 'es_point_to_point',
|
||||
ES_AGG_CLUSTERS = 'es_agg_clusters',
|
||||
ES_AGG_GRIDS = 'es_agg_grids',
|
||||
ES_AGG_HEXAGONS = 'es_agg_hexagons',
|
||||
ES_AGG_HEATMAP = 'es_agg_heatmap',
|
||||
EMS_REGION = 'ems_region',
|
||||
EMS_BASEMAP = 'ems_basemap',
|
||||
|
|
|
@ -5060,6 +5060,34 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"es_agg_hexagons": {
|
||||
"properties": {
|
||||
"min": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description": "min number of es hexagon layers per map"
|
||||
}
|
||||
},
|
||||
"max": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description": "max number of es hexagon layers per map"
|
||||
}
|
||||
},
|
||||
"avg": {
|
||||
"type": "float",
|
||||
"_meta": {
|
||||
"description": "avg number of es hexagon layers per map"
|
||||
}
|
||||
},
|
||||
"total": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description": "total number of es hexagon layers in cluster"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"es_agg_heatmap": {
|
||||
"properties": {
|
||||
"min": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue