Custom Metrics - Step Time Range

0
We're setting up custom metrics in one of our projects and we're using a specific runtime setting that we don't fully understand. Specifically:    Setting: Metrics.Registries    Value: [{"type":"influx","settings":{"uri":"https://######","step":"3m"}}]   What does the step define? Do you know if this is the polling interval (how often it fetches data), or is it rather the granularity/resolution of the data we're pulling in?
asked
1 answers
0

Hey Miguel,

Mendix supports five different solutions for managing application metrics:

prometheusjmxinfluxstatsd, and opentelemetr

 

Depending on the solution used, the configuration method will differ.

In your case, Influx was used as the "registry type to use".

In this configuration, you have two additional fields: URI and Step.

The URI is the connection address to the service, and Step is the data reporting frequency — how often metrics data is sent to the service.

 

Some information about Step:

- Resource Usage: A very small step can cause network and I/O overhead, especially on heavily loaded systems.

- Storage: The smaller the step, the more data is generated and stored in the database, which affects cost and performance.

 

Best Regards,

Ricardo Pereira

answered