Sobes.tech
Senior

And where did you store the metrics? Did you not use VictoriaMetrics?

sobes.tech AI

Answer from AI

Metrics are usually stored in monitoring systems such as Prometheus, which integrates well with the Kubernetes ecosystem and Go applications. VictoriaMetrics is a high-performance time series storage that is often used as an alternative to Prometheus for large volumes of data due to its scalability and efficiency. If VictoriaMetrics was not used, standard Prometheus or other TSDBs (time-series databases), such as InfluxDB, were likely employed. The choice depends on the load and scalability requirements.

Example of a Prometheus configuration for collecting metrics from a Go application:

scrape_configs:
  - job_name: 'my-go-app'
    static_configs:
      - targets: ['localhost:9090']

Where the application exports metrics via an HTTP endpoint, for example, using the Prometheus client library for Go.