lib/sapience/appender/datadog.rb in sapience-1.0.2 vs lib/sapience/appender/datadog.rb in sapience-1.0.3
- old
+ new
@@ -104,11 +104,11 @@
def event(title, text, options = {})
provider.event(title, text, options)
end
def namespace
- ns = Sapience.app_name
- ns << ".#{Sapience.environment}" if Sapience.environment
+ ns = Sapience.namify(Sapience.app_name)
+ ns << ".#{Sapience.namify(Sapience.environment)}" if Sapience.environment
ns
end
def dog_options
{