question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Port is_enabled from Raven

See original GitHub issue

From twitter:

I’m exposing whether of not sentry is active as a metric so I can alert on it. (i.e. catch missing DSNs)

The current way to do this is sentry_sdk.Hub.current.client and sentry_sdk.Hub.current.client.options['dsn'] is None, which is a bit verbose.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
hynekcommented, Feb 24, 2019

Wouldn’t that only trigger once something happens and gets dropped? That’d be too late. 😃

I’d just like to be able to tell, whether or not sentry_sdk thinks it can deliver something. If there’s no way to know, I guess I’ll keep checking SENTRY_DSN. ¯_(ツ)_/¯

0reactions
antonpirkercommented, Mar 2, 2022

I think this issue can be closed. Because there is a solution for the problem raised.

Read more comments on GitHub >

github_iconTop Results From Across the Web

nservicebus - RavenDB on a port other than 8080
We tried to access Raven using the following url: http://localhost:9090. If I leave at the default port (8080), everything installs correctly, however I...
Read more >
How to use the config.port function in config
To help you get started, we've selected a few config.port examples, based on popular ways it ... sentryUrl)) app.use(ravenOnError) } app.listen(Config.port) ...
Read more >
Untitled
... Breeze card reload, Table desk furniture, Dragon nest raven skill tree, ... Pavarotti mariotti, Uromyces striatus alfalfa, Hewlett harbor zip code, ...
Read more >
raven-js-source-map-3023023-2.patch
*/\n host: string;\n /** Port of the Sentry instance. */\n port?: string;\n /** Sub ... */\n protected isEnabled(): boolean {\n return this.
Read more >
smM
Manfred weber karlsruhe, Poe's the raven pdf, 2014 toyota 4runner xsp, Krouba, ... Pj cinemas showtimes port jeff, Junglee movie 1998, Lam sinh...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found