Skip to content

Commit f2678d4

Browse files
committed
Tweak README
1 parent cb1edba commit f2678d4

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,18 @@ One global tag may be optionally added to every custom metric:
2020

2121
- `AppConfig.environment` becomes `env:${value}`
2222

23+
`DD_ENV` becomes `env:${value}`
24+
2325
This behaviour has been retained for compatibility.
2426
Review whether you can rely on the `env` set by your Datadog agent;
2527
this will be the Automat or Gantry environment name at SEEK.
2628

2729
In some scenarios, you may still want to manually set a different environment.
28-
Some Gantry services may have a Gantry environment name like `prod-1` and then supply a different value like `production` here.
30+
Some Gantry services may have a Gantry environment name like `prod-1` and then supply a different value like `production` via `environment` config or the `DD_ENV` environment variable.
2931
This behaviour has been retained.
30-
It results in metrics that are tagged with both `env:prod-1` and `env:production`,
31-
and may be useful for forward compatibility with Automat's `development` | `production`.
32+
It results in metrics with multiple env tags, e.g. `env:prod,env:production,env:prod-1`,
33+
and may be useful for backward compatibility with existing dashboards and monitors,
34+
and forward compatibility with Automat's `development` | `production`.
3235

3336
## API reference
3437

0 commit comments

Comments
 (0)