Skip to content

Commit 57bc04a

Browse files
committed
fix APM service map type and index pattern
Signed-off-by: ps48 <pshenoy36@gmail.com>
1 parent 3c0de1f commit 57bc04a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

open-stack/src/opensearch-ui-init.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export async function initOpenSearchUI(cfg) {
159159
printSuccess('Data sources associated with workspace');
160160

161161
// f. Create index patterns with dataSource reference
162-
const svcMapPattern = cfg.serverless ? 'otel-v2-apm-service-map*' : 'otel-v1-apm-service-map*';
162+
const svcMapPattern = 'otel-v2-apm-service-map*';
163163
const logsSchema = '{"otelLogs":{"timestamp":"time","traceId":"traceId","spanId":"spanId","serviceName":"resource.attributes.service.name"}}';
164164

165165
const patterns = [

open-stack/src/render.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function serviceMapSinkConfig(cfg) {
4545
template_content: '${SERVICE_MAP_TEMPLATE_CONTENT}'`;
4646
}
4747
return `\
48-
index_type: trace-analytics-service-map`;
48+
index_type: otel-v2-apm-service-map`;
4949
}
5050

5151
// ── Pipeline renderer ────────────────────────────────────────────────────────

0 commit comments

Comments
 (0)