You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Basic working Insights instrumentation
* Fill in more insights plugins & tweaks
* Put old filter_map back & remove comment
* Perhaps we should actually send the event
* Fix test & pass raw metadata to EventFilter
* Plug is doing the same thing as this.
* Also remove it from the list
* Update lib/honeybadger/insights/ecto.ex
Co-authored-by: Benjamin Curtis <[email protected]>
* Shuffled used module specific functions around
* Add Ecto obfuscation
* Apply suggestions from code review
Co-authored-by: Parker Selbert <[email protected]>
* Add missing end from PR feedback merge
* process_measurements/1 refactor
Thanks @sorentwo
* Add tests and class docs
This also includes the `full_url` options for tesla and finch libraries
* Update README doc
This also won't report an event if the `filter/3` returns nil.
* Load support files correctly
* Update comment for Finch module
Also ignore insights events for Tesla requests that use the Finch
adapter, as we will send 2 events.
* Fix test
* Use async
* Apply suggestions from code review
Co-authored-by: Parker Selbert <[email protected]>
* Use `String.to_existing_atom/1`
* Load the atoms earlier
* Stop using strings to register telemetry_events
My decision to use dotified strings in the configuration to map to
instrumented telemetry events kept rubbing the wrong way. It was at the
point where I was preloading atoms to make sure the the terms were
avaliable so `to_existing_atom` would not error that the pain was
enough to reevalute things.
The config now uses lists of atoms for instrumented events. I am also
using these lists in all the places where callbacks were using the
string event name.
* Fix nested notifications issue
Since we are now using the same adapter that we are instrumenting on,
when we send an event to insights we get a telemetry event about
sending that event, and then send another event! Recursion!
This does not instrument a request event if the user-agent comes from
this library.
I also had to remove my Finch stub, since the :req dependency adds
finch.
* Fix tests
---------
Co-authored-by: Benjamin Curtis <[email protected]>
Co-authored-by: Parker Selbert <[email protected]>
|`app`| Name of your app's OTP Application as an atom |`Mix.Project.config[:app]`|
313
425
|`api_key`| Your application's Honeybadger API key |`System.get_env("HONEYBADGER_API_KEY"))`|
314
-
|`environment_name`| (required) The name of the environment your app is running in. |`:prod`|
315
-
|`exclude_errors`|Filters out errors from being sent to Honeybadger |`[]`|
426
+
|`environment_name`| (required) The name of the environment your app is running in. |`:prod`|
427
+
|`exclude_errors`|Filters out errors from being sent to Honeybadger |`[]`|
316
428
|`exclude_envs`| Environments that you want to disable Honeybadger notifications |`[:dev, :test]`|
317
429
|`hostname`| Hostname of the system your application is running on |`:inet.gethostname`|
318
430
|`origin`| URL for the Honeybadger API |`"https://api.honeybadger.io"`|
319
431
|`project_root`| Directory root for where your application is running |`System.cwd/0`|
320
432
|`revision`| The project's git revision |`nil`|
321
433
|`filter`| Module implementing `Honeybadger.Filter` to filter data before sending to Honeybadger.io |`Honeybadger.Filter.Default`|
322
-
|`filter_keys`| A list of keywords (atoms) to filter. Only valid if `filter` is `Honeybadger.Filter.Default`|`[:password, :credit_card]`|
434
+
|`filter_keys`| A list of keywords (atoms) to filter. Only valid if `filter` is `Honeybadger.Filter.Default`|`[:password, :credit_card, :__changed__, :flash, :_csrf_token]`|
323
435
|`filter_args`| If true, will remove function arguments in backtraces |`true`|
324
436
|`filter_disable_url`| If true, will remove the request url |`false`|
325
437
|`filter_disable_session`| If true, will remove the request session |`false`|
326
438
|`filter_disable_params`| If true, will remove the request params |`false`|
439
+
|`filter_disable_assigns`| If true, will remove the live_view event assigns |`false`|
327
440
|`fingerprint_adapter`| Implementation of FingerprintAdapter behaviour ||
328
441
|`notice_filter`| Module implementing `Honeybadger.NoticeFilter`. If `nil`, no filtering is done. |`Honeybadger.NoticeFilter.Default`|
329
442
|`sasl_logging_only`| If true, will notifiy for SASL errors but not Logger calls |`true`|
330
443
|`use_logger`| Enable the Honeybadger Logger for handling errors outside of web requests |`true`|
331
444
|`ignored_domains`| Add domains to ignore Error events in `Honeybadger.Logger`. |`[:cowboy]`|
0 commit comments