How can I get prometheus exporters running in my grails app?

yourknightmares

I'm having trouble getting prometheus set up with my grails app. I have it completely set up and working with other exporters just don't really know where to go with the actual application.

I am trying to use the jmx exporter found here: https://github.com/prometheus/jmx_exporter

Following the instructions on that page, it seems like the exporter gets attached to a .jar file. But to my knowledge, grails never gets converted to a .jar file? And also there's a difference I know between when grails is running in dev and production where it gets compiled into a .war file. Does there need to be separation in the front and back end? Any information would be much appreciated.

Jeff Scott Brown

But to my knowledge, grails never gets converted to a .jar file?

You get to decide if you want to deploy your Grails app as a .jar file. If you are using Grails 3 or 4 the assemble Gradle task will create a .war file if the war Gradle plugin is applied in the project, otherwise an executable .jar file will be created.

And also there's a difference I know between when grails is running in dev and production where it gets compiled into a .war file.

By default, when you generate a .war file (or a .jar file) the app will run in production mode, but you can generate a dev mode .war or a dev mode .jar file if you want to for any reason.

Does there need to be separation in the front and back end?

There does not.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How can I get my HyperVisor running?

How do I get to my prometheus graphs?

How can I detect, that my app is running on the Ripple Emulator?

How can I detect if my app is running on Windows 10

How can I programmatically determine if my app is running in the iphone simulator?

How can I detect if my Flutter app is running in the web?

How can I tell if my intent is running in the Shortcuts app?

How can I get this App Store purchase window in my app?

How can i get or detect FCM notification while app running?

How can I get information about the file that launched my app?

How can I get the font names bundled in my iOS app?

How can I get my app screen time on a hourly basis?

How can I get the number of online users now in my app

on Heroku how can I get the current release number of my app

How can I get my iOS app connected with api?

How can I push my own numeric data to prometheus database?

How to get the running threads in my App only

How do I get the current directory using C# that my Windows App Store app is running in?

How can I get the number of requests to rest server with prometheus?

How can i get save metric per second on prometheus?

How to get local dynamodb running so my java app can connect with it?

How can I check if an app running on Android?

How can I detect if app is running on PDA

How can I use my docker DotNetCore app after running in a droplet?

How can I make my timer keep running when the iPhone user quits to the home screen or the App Switcher?

While my app is running, how can I update the current activity with the contents a GCM notification, without clicking on the notification?

How can I find the total disk size of the device my app is running on?

How can I tell if my Android app is running in Google Cloud Test Lab?

How can I parallelize my macOS app tasks as much as possible without running out of memory?