Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify readme or simplify config regarding environments #1

Open
motin opened this issue Oct 30, 2013 · 0 comments
Open

Clarify readme or simplify config regarding environments #1

motin opened this issue Oct 30, 2013 · 0 comments

Comments

@motin
Copy link
Contributor

motin commented Oct 30, 2013

Nothing gets sent to sentry unless there is an array of enabledEnvironments and the environment configuration is set to a member of that array, ie:

  'components' => array(
    'sentry' => array(
      'class' => 'vendor.crisu83.yii-sentry.components.SentryClient',
      'dns' => '<replace-with-your-sentry-dns>',
      'environment' => 'foo',
      'enabledEnvironments' => array('foo'),
    ),
  ),

Neither "environment" nor "active environment" is part of Sentry-lingo, it seems to be something specific to one's application?

When you are at it, please add a comment that "dns" is the part that is sent as first argument to Raven_Client as per Sentry's official code examples.

Otherwise the setup was painless, nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant