Skip to main content
Question

Format or transformer to read prometheus metrics and convert into SQL Server

  • November 25, 2020
  • 1 reply
  • 77 views

rudy_v
Contributor
Forum|alt.badge.img+6

Good Day

We have a few applications that expose prometheus metrics through an API, but there there no reader and or transformer to convert it to SQLServer.

 

Has anyone worked with prometheus metrics, and what is the best way to read prometheus metrics format in FME

 

or is just the best to use Prometheus and Grafana?

 

Rudy

1 reply

rahulsharma
Safer
Forum|alt.badge.img+10
  • Safer
  • December 14, 2020

Hi @rudy_v​ 

Unfortunately, I have not worked with Prometheus Metrics.

Can you provide sample data?

You should be able to access the API using HttpCaller and process the response.

Is the response back is in JSON format? If yes, you can use the transformers such as JSONFragmentor, AttributeExposer to access geometry and attributes (and transform to SQLServer).

Some Articles that can be useful

https://community.safe.com/s/article/json-web-services-fme-uc-course

https://community.safe.com/s/article/json-transformations


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings