# `PromEx.LifecycleAnnotator`
[🔗](https://github.com/akoutmos/prom_ex/blob/master/lib/prom_ex/lifecycle_annotator.ex#L1)

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)

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `start_link`

```elixir
@spec start_link(opts :: keyword()) :: GenServer.on_start()
```

Used to start the `PromEx.LifecycleAnnotator` process.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
