• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Save test messages into Prometheus

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can I push a text message (JSON format) to Prometheus (or Prometheus poll this message)?

I have the endpoint:

 
Saloon Keeper
Posts: 14681
330
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you're referring to prometheus.io.

It appears to be a service for monitoring metrics about your web application. There are Java libraries available that help you instrument your code: https://github.com/prometheus/client_java

I don't know what you mean by "push a text message to Prometheus". It's not a general purpose database. Please explain what you're trying to achieve.
 
Pasha Nesm
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I mean, to push a string like an object to Prometheus.
 
Stephan van Hulst
Saloon Keeper
Posts: 14681
330
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That doesn't mean anything to me. What do you want Prometheus to do with it? For what purpose?
 
reply
    Bookmark Topic Watch Topic
  • New Topic