-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I subscribe to events? #75
Comments
@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.The text was updated successfully, but these errors were encountered: