Popularity
4.9
Growing
Activity
0.0
Stable
21
3
1
Programming language: Crystal
License: MIT License
Tags:
Logging And Monitoring
Latest version: v0.1.11
crafana alternatives and similar shards
Based on the "Logging and monitoring" category.
Alternatively, view crafana alternatives based on common mentions on social networks and blogs.
-
crystal-logreader
Reading lines in the text file which is growing and may be rotated, such as unix system log file.
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
Promo
www.sonarlint.org
Do you think we are missing an alternative of crafana or a related project?
README
Crafana 
This library is intended to help autogenerate Grafana dashboards
Installation
Add the dependency to your project's shard.yml
:
dependencies:
crafana:
github: spoved/crafana.cr
Usage
Builder
The Crafana::Builder
can be used to generate dashboards and sub panels.
builder = Crafana::Builder.new
builder.add_dashboard("My new dash") do |dash|
# Add sub panels to the dashboard here
dash.add_row("row 1") do |row|
# Configure row here
end
dash.add_graph("graph 1") do |graph|
# Configure graph here
end
end
The dashboard json can be exported via the to_json
method.
builder.dashboards.first.to_json
Contributing
- Fork it (https://github.com/spoved/crafana/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
- Holden Omans - creator and maintainer
- Christian Nicolai - Superuser!