Skip to content

Commit eec63dc

Browse files
committed
feature symfony#4 Add EkinoNewrelicBundle (GromNaN)
This PR was squashed before being merged into the master branch (closes symfony#4). Discussion ---------- Add EkinoNewrelicBundle * Is it possible to add conditional configuration when an other bundle is installed? This bundle has interactions with [SonataBlockBundle](https://github.com/ekino/EkinoNewRelicBundle#integration-with-sonatablockbundle). * Configuration could be made interactive with questions like "What transaction naming do you want to use?" or "Are you using Symfony HTTP Cache?" Commits ------- 9f04f15 Add EkinoNewrelicBundle
2 parents b5f5292 + 9f04f15 commit eec63dc

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ekino_new_relic:
2+
enabled: true
3+
api_key: "%env(NEWRELIC_API_KEY)%"
4+
log_exceptions: true
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"bundles": {
3+
"Ekino\\Bundle\\NewRelicBundle\\NewRelicBundle": ["prod"]
4+
},
5+
"copy-from-recipe": {
6+
"etc/": "%ETC_DIR%/"
7+
},
8+
"env": {
9+
"#1": "Get the REST API key of your NewRelic Account on https://docs.newrelic.com/docs/apis/rest-api-v2/requirements/api-keys",
10+
"NEWRELIC_API_KEY": "FIXME"
11+
}
12+
}

0 commit comments

Comments
 (0)