From 93f5a5f91debaaf169a1d8c810e2b693d8970ed7 Mon Sep 17 00:00:00 2001 From: Pradipta Sahoo Date: Tue, 9 Jun 2026 07:22:57 -0400 Subject: [PATCH] feat: add mempool_name and function fields to metric_desc index Add keyword fields required by tool-ebpf-dpdk and tool-dpdk: - mempool_name: used by DPDK mempool telemetry metrics - function: used by ebpf-dpdk top-function-pct metrics Without these fields, OpenSearch rejects metric documents containing names.function or names.mempool_name during indexing. Depends-on: https://github.com/perftool-incubator/tool-ebpf-dpdk/pull/3 Co-authored-by: Cursor --- queries/cdmq/cdm.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/queries/cdmq/cdm.js b/queries/cdmq/cdm.js index cea01c4a..2ed2b64e 100644 --- a/queries/cdmq/cdm.js +++ b/queries/cdmq/cdm.js @@ -344,7 +344,9 @@ indexDefs['v8dev']['metric_desc']['mappings']['properties']['metric_desc'] = { blade: { type: 'keyword' }, rank: { type: 'keyword' }, queue: { type: 'keyword' }, - nic: { type: 'keyword' } + nic: { type: 'keyword' }, + mempool_name: { type: 'keyword' }, + function: { type: 'keyword' } } }, 'value-format': { type: 'keyword' },