Skip to content

Commit 2b81e00

Browse files
committed
mention newrelic
1 parent f4d8d83 commit 2b81e00

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.env.example

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ PERIODICAL=stop_expired_deploys:60,remove_expired_locks:60
6969

7070
# ENV_WHITELIST=FOOBAR,BARFOO # optional, list of env values that should be passed to the command when deploying
7171

72+
## NewRelic: optional report performance stats see https://docs.newrelic.com/docs/agents/ruby-agent/configuration/ruby-agent-configuration
73+
# NEW_RELIC_LICENSE_KEY: my-key
74+
# NEW_RELIC_APP_NAME: Samson
75+
# NEW_RELIC_LOG_FILE_PATH: STDOUT
76+
7277
## Docker
7378
# DOCKER_FEATURE=1 # optional, docker support
7479
# DOCKER_REGISTRIES=https://user:[email protected]/some-namespace # required, where to push/pull your docker images

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Samson will:
4646
* [Continuous Integration](https://github.com/zendesk/samson/blob/master/docs/ci.md)
4747
* [Extra features](https://github.com/zendesk/samson/blob/master/docs/extra_features.md)
4848
* [Plugins](https://github.com/zendesk/samson/blob/master/docs/plugins.md)
49-
* [Getting statistics](https://github.com/zendesk/samson/blob/master/docs/stats.md)
49+
* [Statistics](https://github.com/zendesk/samson/blob/master/docs/stats.md)
5050

5151
### Contributing
5252

docs/stats.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
# Instrumentation
22

3-
Samson sends StatsD basic web request metrics and metrics about deploys and threads
3+
### StatsD
4+
5+
Samson sends StatsD web request metrics and metrics about deploys and threads
46
in use. Statsd silently disables itself if no agent is running on the host. All
57
metrics collected are prepending with 'samson.app'.
68

79
<img src="/docs/images/datadog.png?raw=true" width="600">
10+
11+
### NewRelic
12+
13+
If a `NEW_RELIC_LICENSE_KEY` and `NEW_RELIC_APP_NAME` are set, then performance stats will be sent to [NewRelic](https://newrelic.com/),
14+
for more details see [Agent configuration](https://docs.newrelic.com/docs/agents/ruby-agent/configuration/ruby-agent-configuration).

0 commit comments

Comments
 (0)