Open agardnerIT opened 3 months ago
@agardnerIT Yep, maestro is capable of publishing events for external systems. It depends on which mechanism your downstream service uses. Then you can implement MaestroNotificationPublisher interface. The current implementation is NoOpMaestroNotificationPublisher, which just prints out the events.
If you use Kafka or SNS, you can add a producer to send out the events. If you have a webservice, you can simply add a rest API call to pass the events to your service over a REST API.
I'm new to maestro and it looks great. I'm following the example workflow and can see the workflow executing in the logs with logs like this:
I want to "hook into" the "workflow finished" event then get the step + timing summary to reconstruct the run and perform my own logic.
For example:
Then I can recreate something like this:
Any docs on how to achieve this? I can't see an OpenAPI URL so don't know the API endpoints.
Metrics / Prometheus
Digging deeper, I see lots of metrics are available in Cockroach and
MaestroMetrics
but there's no docs on how to access any of these:http://localhost:8080/_status/vars
(as suggested by Cockroach) doesn't lead me anywhere.