reevoo / sapience-rb

Hasslefree auto-configuration for logging, metrics and exception collection.
MIT License
10 stars 0 forks source link

feature: config option for grape metrics #65

Closed costis closed 4 years ago

costis commented 4 years ago

By default, extension sapience/grape collects metrics from grape endpoints and emits them, if a metrics provider has been configured. This is useful when we don't use a dedicated tracing library like datadog, newrelic, skylight etc.

This commit introduces a new config option, grape_metrics, that allows us to control whether we want to emit metrics or not.