01 Jun 2023
10:52 AM
- last edited on
13 Jul 2023
05:40 PM
by
AgataWlodarczyk
Hi,
I've followed this post: https://community.dynatrace.com/t5/Dynatrace-API/Dynatrace-V2-Metrics-API-Kubernetes-How-to-configur...
But reached the same issue as the OP in that question, that the metrics ingest from the active gates responds with a 405. I've sent in metrics outside of kube with the same endpoint on a localhost:14499 OneAgent without issue, but here, the response is:
<body>Error: 405 HTTP method POST is not supported by this URL<br/>Uri: /metrics/ingest<br/>
api/v2/metrics/ingest also fails, but with a 404.
What is the working combination to get metric ingest in DynaKube?
Solved! Go to Solution.
In https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/cloudNativeFullStack.yaml
There was previous mention of metrics-ingest module for the Activegate:
https://github.com/Dynatrace/dynatrace-operator/commit/962a6181246162d02aefcbc88e7bd2a77ea3af79
As you can see in that PR, it was removed.
I'm not sure when this feature will be supported by Dynatrace
Hi,
Thanks for your response, but these just look like they've removed it from their samples, not the active gate. the comments in the code also suggest that is it still a capability of the active gate, even if it is not employed in the sample application.
for instance the code in the commit still has the following:
# Specifies which capabilities will be enabled on ActiveGate instances
# The following capabilities can be set:
# - routing
# - kubernetes-monitoring
# - metrics-ingest
# - dynatrace-api
Is there an official deprecation announcement of the capability?
Cheers,
Toby
This module is very much still in use and supported, the samples indeed just moved folders:
dynatrace-operator/config/samples -> dynatrace-operator/assets/samples
Please raise a ticket or open a new question in case of issues.
For the record, I did not accept this answer, someone accepted it for me. I do not consider "ask someone else" an acceptable answer.