PromEx.LifecycleAnnotator (PromEx v1.1.1) View Source
This GenServer is responsible to keeping track of the life cycle of the application and sending annotation requests to Grafana when the application starts and when it terminates. It will include things in the message like:
- Hostname
- OTP app name
- App version
- Git SHA of the last commit (if the GIT_SHA environment variable is present)
- Git author of the last commit (if the GIT_AUTHOR environment variable is present)
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Used to start the PromEx.LifecycleAnnotator
process.
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Specs
start_link(opts :: keyword()) :: GenServer.on_start()
Used to start the PromEx.LifecycleAnnotator
process.