Skip to content

Commit e91f7d3

Browse files
committed
Basic docs for new configuration
1 parent beeee2a commit e91f7d3

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,52 @@ Add your DSN to ``app/config/config.yml``:
5353
sentry:
5454
dsn: "https://public:[email protected]/1"
5555
```
56+
57+
58+
## Configuration
59+
60+
The following can be configured via ``app/config/config.yml``:
61+
62+
### app_path
63+
64+
The base path to your application. Used to trim prefixes and mark frames as part of your application.
65+
66+
```yaml
67+
sentry:
68+
app_path: "/path/to/myapp"
69+
```
70+
71+
### dsn
72+
73+
```yaml
74+
sentry:
75+
dsn: "https://public:[email protected]/1"
76+
```
77+
78+
### environment
79+
80+
The environment your code is running in (e.g. production).
81+
82+
```yaml
83+
sentry:
84+
environment: "%kernel.environment%"
85+
```
86+
87+
### release
88+
89+
The version of your application. Often this is the git sha.
90+
91+
```yaml
92+
sentry:
93+
release: "beeee2a06521a60e646bbb8fe38702e61e4929bf"
94+
```
95+
96+
### prefixes
97+
98+
A list of prefixes to strip from filenames. Often these would be vendor/include paths.
99+
100+
```yaml
101+
sentry:
102+
prefixes:
103+
- /usr/lib/include
104+
```

0 commit comments

Comments
 (0)