Closed ericmustin closed 1 month ago
@yaauie thanks for taking a look, made the changes you suggested and filled out the CLA, thanks again for the quick turn around here much appreciated!
Any news on this PR?
Really? We cannot use the plugin in Europe...
Can you please
logstash-output-datadog_metrics.gemspec
and CHANGELOG.md
)
?Thank you!
@mashhurs
It's been 6 years since I made this PR.
It would be hilarious though if we could get it merged.
For that reason, and solely that reason, I will try to fix up those changes you requested this evening.
updated with pr feedback. lmk if anything else needed here @mashhurs !
This PR adds
@api_url
as a config available inLogStash::Outputs::DatadogMetrics
, as Datadog now has users in the EU region which have a different API endpoint than the US region. This will continue to grow to new regions in the future and this url should be configurable going forward.The config option keeps the default as the US API Endpoint, but allows EU users to update to the EU endpoint in their config with a config such as
Also the US API endpoint currently being used (
"https://app.datadoghq.com/api/v1/series"
) is deprecated and while it will work for now it's best to also move this over to the new endpoint ("https://api.datadoghq.com/api/v1/series"
) . For reference see Datadog DocumentationAlso includes a Docs update