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 2c1dfdc..0bc796f 100644 --- a/spec/spec.json +++ b/spec/spec.json @@ -76,6 +76,15 @@ "When an APM agent is active, they should auto-configure it 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,