Skip to content

Commit d3ffcf1

Browse files
authored
Adding service.environment to the spec (#62)
1 parent d8ee4d4 commit d3ffcf1

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

spec/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ The following example describes a richer set of fields in an event that has not
7575
"transaction.id": "00f067aa0ba902b7",
7676
"service.name": "opbeans",
7777
"service.version": "1.2.3",
78+
"service.environment": "production",
7879
"event.dataset": "opbeans.log"
7980
}
8081
```

spec/spec.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,15 @@
111111
"The field helps to filter for different log streams from the same pod, for example and is required for log anomaly detection."
112112
]
113113
},
114+
"service.environment": {
115+
"type": "string",
116+
"required": false,
117+
"url": "https://www.elastic.co/guide/en/ecs/current/ecs-service.html#field-service-environment",
118+
"comment": [
119+
"Configurable by users.",
120+
"When an APM agent is active, it should auto-configure it if not already set."
121+
]
122+
},
114123
"process.thread.name": {
115124
"type": "string",
116125
"required": false,

0 commit comments

Comments
 (0)