Store Prometheus metrics
I am developing a basic application (REST with MongoDB database) in Java using SpringBoot. As my first pipeline I used GitLab and I successfully managed to create the stages of: build, verify (lint, sats), unit test, integration test, package, release and deploy.
Now I would like to create a final stage or monitor. I would like to do it as basic as possible, I have added the springboot actuator dependency and I would like to generate a report directly in a gitlab jobs. The jobs should take the data exposed by prometheus (possibly show them in the cli), store them in a file (which is overwritten at each start of the job) and terminate the jobs. Do you have any idea how I could do it? I tried curl but it doesn't work. (Other tools are accepted)

