From d8ee4d4ba5853a10425ac21f41a5ff04f84b355b Mon Sep 17 00:00:00 2001 From: Felix Barnsteiner Date: Tue, 10 May 2022 16:01:31 +0200 Subject: [PATCH] Adding service.version (#58) --- spec/README.md | 1 + spec/spec.json | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/spec/README.md b/spec/README.md index f606c06..3771f8c 100644 --- a/spec/README.md +++ b/spec/README.md @@ -74,6 +74,7 @@ The following example describes a richer set of fields in an event that has not "trace.id": "4bf92f3577b34da6a3ce929d0e0e4736", "transaction.id": "00f067aa0ba902b7", "service.name": "opbeans", + "service.version": "1.2.3", "event.dataset": "opbeans.log" } ``` diff --git a/spec/spec.json b/spec/spec.json index 7a5f6be..915086d 100644 --- a/spec/spec.json +++ b/spec/spec.json @@ -85,6 +85,15 @@ "When an APM agent is active and `service_node_name` is manually configured, the agent should auto-configure this field if not already set." ] }, + "service.version": { + "type": "string", + "required": false, + "url": "https://www.elastic.co/guide/en/ecs/current/ecs-service.html#field-service-version", + "comment": [ + "Configurable by users.", + "When an APM agent is active, it should auto-configure it if not already set." + ] + }, "event.dataset": { "type": "string", "required": false,