Fix Datadog metric name sanitization