Skip to content

Commit

Permalink
[Profiling] add service.name field to event index template (elastic…
Browse files Browse the repository at this point in the history
  • Loading branch information
athre0z authored Feb 12, 2024
1 parent cc2e56d commit 6ae7d18
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@
},
"tags": {
"type": "keyword"
},
"service.name": {
"type": "keyword"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ public class ProfilingIndexTemplateRegistry extends IndexTemplateRegistry {
// version 1: initial
// version 2: Added 'profiling.host.machine' keyword mapping to profiling-hosts
// version 3: Add optional component template 'profiling-ilm@custom' to all ILM-managed index templates
public static final int INDEX_TEMPLATE_VERSION = 3;
// version 4: Added 'service.name' keyword mapping to profiling-events
public static final int INDEX_TEMPLATE_VERSION = 4;

// history for individual indices / index templates. Only bump these for breaking changes that require to create a new index
public static final int PROFILING_EVENTS_VERSION = 1;
public static final int PROFILING_EVENTS_VERSION = 2;
public static final int PROFILING_EXECUTABLES_VERSION = 1;
public static final int PROFILING_METRICS_VERSION = 1;
public static final int PROFILING_HOSTS_VERSION = 1;
Expand Down

0 comments on commit 6ae7d18

Please sign in to comment.