-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Conductor server metrics how/help + prometheus #1811
Comments
This issue is stale, because it has been open for 45 days with no activity. Remove the stale label or comment, or this will be closed in 7 days. |
This issue was closed, because it has been stalled for 7 days with no activity. |
@eins today I faced the same problem and a Web search brings me here. In case you still want to achieve this, I'd suggest to: for development purposes:in server/build.gradle file add:
in server/src/main/resources/application.properties add:
** EDITED ** Remove the instantiation of Prometheus registry, and let Spring inject the actuator one:
then hit at root:
visit: http://localhost:8080/actuator and follow the links. for PRDFor production, build a docker image with the change in server/build.gradle and then configure your container as showed. |
By the way, the source I consulted:
|
@marcocrasso thanks for the reply on this ticket. We moved to camundabpm . conductor was to green . |
@marcocrasso anyway we can achieve this using configs and using docker images? |
Hello guys
I read a few tickets about conductor server and prometheus metrics
#600
#1769
And the conductor documentation
https://netflix.github.io/conductor/metrics/server/
But I can't understand how to enable spectator in conductor server and
then push metrics to a external prometheus server.
https://netflix.github.io/conductor/metrics/server/#publishing-metrics
Conductor uses spectator to collect the metrics.
To enable conductor serve to publish metrics, add this dependency to
your build.gradle.
is build.grade, server/build.gradle ?
I followed the link and I tried to add
or https://github.com/brharrington/spectator-examples/blob/master/metrics3/build.gradle
I had errors
A problem occurred configuring project ':conductor-server'.
OR
Conductor Server enables you to load additional modules dynamically,
this feature can be controlled using this configuration.
I added to docker/server/config/config.properties
Create your own AbstractModule that overides configure function and
registers the Spectator metrics registry.
Initialize the Registry and add it to the global registry via
((CompositeRegistry)Spectator.globalRegistry()).add(...).
the last two option I don't know where I need to add it.
The text was updated successfully, but these errors were encountered: