Skip to main content
Question

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

  • November 25, 2020
  • 1 reply
  • 99 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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

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