cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ruxit gateway requests

manstis
Visitor

We made a change to our application monitored by Dynatrace.

Before the change we saw something called "ruxit gateway" make requests to our "/metrics" endpoint.

The previous implementation returned HTTP200 with content-type "text/plain; version=0.0.4; charset=utf-8"

We made a small change that (should!) serve the same response and content-type.

However we're now seeing HTTP406s in response suggesting an issue with content negotiation.

I'm just looking for information on what "ruxit gateway" is and what content-type is in the requests to "/metrics".

This should give me some information to try to figure out what has been broken. 

2 REPLIES 2

Julius_Loman
DynaMight Legend
DynaMight Legend

Ruxit gateway is Dynatrace ActiveGate. Based on the metric endpoint I assume it's an application in Kubernetes and you are scraping the Prometheus metrics from the /metrics endpoint. 
The HTTP Response 406 is returned from your application, so I'd recommend looking at your application why it is not accepting the request. The request Content-Type header is text/plain.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

manstis
Visitor

Thank-you @Julius_Loman for the pointer.

Upon debugging we noted that our application's default content-type was application/json and our refactoring had removed the explicit content negotiation for text/plain. Adding this back has solved our problem.

Featured Posts