github.com/wyhaines/apm.cr
main / published Sep 29, 2021 / repository
This is an open source APM agent for Crystal. Initial development is targeting the OpenTelemetry spec for data exchange, but it may also support the New Relic specific protocol. It should, however, be usable with any provider that permits OpenTelementry ingest.
apm.cr
This is an APM agent implementation for Crystal.It is being built with OpenTelementry protocol support, which should enable the agent to deliver metrics, traces and logs to multiple vendors, such as New Relic, Datadog, and others.
It will hook into an application, automatically, to enable collection and reporting of various metrics relating to performance and behavior.
Installation
-
Add the dependency to your
shard.yml:dependencies: apm: github: your-github-user/apm -
Run
shards install
Usage
require "apm"
TODO: Write usage instructions here
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/your-github-user/apm/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Kirk Haines - creator and maintainer
API
- Apm
TODO Write documentation for
Apm