Skip to content

Commit 295abf9

Browse files
committed
Mention tags as a valid option for Raven.config
I looked for a way to specify unchanging tags (such as git commit hash of my software), and mistakenly decided it wasn't possible to pass them to Raven.config() because the documentation enumerated various possible options but didn't mention `tags`. Bugs like #75 convinced me that this was supposed to be a supported feature. So here's a doc patch to avoid sending other users into confusion.
1 parent cc67bce commit 295abf9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/config/index.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,17 @@ The name of the logger used by Sentry. Default: ``javascript``
3737
3838
.. _config-whitelist-urls:
3939

40+
tags
41+
----
42+
43+
Additional `tags <https://www.getsentry.com/docs/tags/>`__ to assign to each event.
44+
45+
.. code-block:: javascript
46+
47+
{
48+
tags: {git_commit: 'c0deb10c4'}
49+
}
50+
4051
whitelistUrls
4152
-------------
4253

0 commit comments

Comments
 (0)