All Projects → Stouts → Stouts.grafana

Stouts / Stouts.grafana

Licence: mit
Ansible role which Installs and setups Grafana metrics dashboard

Labels

Projects that are alternatives of or similar to Stouts.grafana

Lime processing
Low-light enhancement technology(C++)
Stars: ✭ 46 (-8%)
Mutual labels:  makefile
Tgir
Official repository for Thank Goodness It's RabbitMQ (TGIR)!
Stars: ✭ 48 (-4%)
Mutual labels:  makefile
Openwrt Extra
extra openwrt package feed (samba 4.12.x)
Stars: ✭ 49 (-2%)
Mutual labels:  makefile
Dspdump
Dump 3DS's DSP component to SD for homebrew audio.
Stars: ✭ 46 (-8%)
Mutual labels:  makefile
Docker Compose Kafka
Multi-broker Kafka cluster and Zookeeper ensemble in Docker
Stars: ✭ 47 (-6%)
Mutual labels:  makefile
Booktree
UPDATE: I've decided that this project is not useful enough, Git for local editing is not the bottleneck. We must focus on ranking algorithms instead: https://github.com/cirosantilli/write-free-science-books-to-get-famous-website
Stars: ✭ 48 (-4%)
Mutual labels:  makefile
Vainglory Assets
Community provided art, schemas, and other assets that make using the Vainglory API easier
Stars: ✭ 45 (-10%)
Mutual labels:  makefile
Android device motorola osprey
Stars: ✭ 50 (+0%)
Mutual labels:  makefile
Rlp
An Example of Using Literate Programming for R Package Development
Stars: ✭ 47 (-6%)
Mutual labels:  makefile
Asm Dom Boilerplate
A simple boilerplate to start using asm-dom without configuration.
Stars: ✭ 49 (-2%)
Mutual labels:  makefile
Docker Redis Cluster
Dockerfile for Redis Cluster (redis 3.0+)
Stars: ✭ 1,035 (+1970%)
Mutual labels:  makefile
Textnormalizationcoveringgrammars
Covering grammars for English and Russian text normalization
Stars: ✭ 46 (-8%)
Mutual labels:  makefile
Device xiaomi grus Twrp
TWRP device tree for Xiaomi Mi 9 SE(treble)
Stars: ✭ 49 (-2%)
Mutual labels:  makefile
Ont Hg1
Cliveome ONTHG1 data release : Updated with GridION runs
Stars: ✭ 46 (-8%)
Mutual labels:  makefile
Draft Ietf Doh Dns Over Https
Discussion of draft-ietf-doh-dns-over-https in the IETF's DOH Working Group
Stars: ✭ 49 (-2%)
Mutual labels:  makefile
Stouts.jenkins
Ansible role which manage Jenkins CI
Stars: ✭ 45 (-10%)
Mutual labels:  makefile
Secure Boot
UEFI SecureBoot for ArchLinux
Stars: ✭ 48 (-4%)
Mutual labels:  makefile
Webfsd
A simple HTTP server for mostly static content written in C
Stars: ✭ 50 (+0%)
Mutual labels:  makefile
Mendeley Rpm
Mendeley packaged for Fedora.
Stars: ✭ 49 (-2%)
Mutual labels:  makefile
Largest Contentful Paint
Specification for the LargestContentfulPaint API
Stars: ✭ 49 (-2%)
Mutual labels:  makefile

Stouts.grafana

Build Status Galaxy

Ansible role which manage Grafana

  • Install and configure Grafana

Variables

Here is the list of all variables and their default values:

grafana_enabled: true                       # The role is enabled
grafana_apt_repository: deb https://packagecloud.io/grafana/stable/debian/ jessie main
grafana_apt_key: https://packagecloud.io/gpg.key

grafana_version: 3.1.1-*                    # Set version (set to latest to install latest version)

grafana_app_mode: production

# Paths
grafana_data: /var/lib/grafana
grafana_logs: /var/log/grafana
grafana_plugins: "{{ grafana_data }}/plugins"
grafana_plugins_install: []

# Server
grafana_protocol: http
grafana_http_addr: 0.0.0.0                  # The ip address to bind to
grafana_http_port: 3000                     # The http port  to use
grafana_domain: localhost                   # The public facing domain name used to access grafana from a browser
grafana_enforce_domain: false
grafana_root_url: "%(protocol)s://%(domain)s:%(http_port)s/"
grafana_router_logging: false                  # Log web requests
grafana_static_root_path: public            # the path relative working path
grafana_enable_gzip: false                     # enable gzip
grafana_cert_file:                          # https certs & key file
grafana_cert_key:

# Database
grafana_type: sqlite3                       # Either "mysql", "postgres" or "sqlite3"
grafana_host: 127.0.0.1:3306
grafana_name: grafana
grafana_user: root
grafana_password:
grafana_ssl_mode: disable                   # For "postgres" only, either "disable", "require" or "verify-full"
grafana_path: grafana.db                    # For "sqlite3" only, path relative to data_path setting

# Session
grafana_provider: file                      # Either "memory", "file", "redis", "mysql", default is "memory"
grafana_provider_config: sessions
grafana_cookie_name: grafana_sess           # Session cookie name
grafana_cookie_secure: false                # If you use session in https only
grafana_session_life_time: 86400            # Session life time, default is 86400

# Analytics
grafana_reporting_enabled: true             # Server reporting, sends usage counters to stats.grafana.org every 24 hours.
grafana_check_for_updates: true             # Set to false to disable all checks to https://grafana.net
grafana_google_analytics_ua_id:             # Google Analytics universal tracking code, only enabled if you specify an id here

# Security
grafana_admin_user: admin                   # Default admin username
grafana_admin_password: admin               # Default admin password
grafana_secret_key: ECaamBjja2CChzAp        # Used for signing
grafana_login_remember_days: 7
grafana_cookie_username: grafana_user
grafana_cookie_remember_name: grafana_remember
grafana_disable_gravatar: false                # disable gravatar profile images
grafana_data_source_proxy_whitelist:        # data source proxy whitelist (ip_or_domain:port seperated by spaces)

# Snapshots
grafana_external_enabled: true
grafana_external_snapshot_url: https://snapshots-origin.raintank.io
grafana_external_snapshot_name: Publish to snapshot.raintank.io

# Users
grafana_allow_sign_up: true                 # Disable user signup/registration
grafana_allow_org_create: true              # Allow falsen admin users to create organizations
grafana_auto_assign_org: true               # Set to true to automatically assign new users to the default organization (id 1)
grafana_auto_assign_org_role: Viewer        # Default role new users will be automatically assigned
grafana_login_hint: email or username       # Background text for the user field on the login page

# Anonymous Auth
grafana_anonymous_enabled: false               # Enable Anonymous access
grafana_anonymous_org_name: Main Org.       # Specify organization name that should be used for unauthenticated users
grafana_anonymous_org_role: Viewer          # Specify role for unauthenticated users

# Github Auth
grafana_github_enabled: false                  # Enable Github Auth
grafana_github_client_id: some_id
grafana_github_client_secret: some_secret
grafana_github_scopes: user:email
grafana_github_auth_url: https://github.com/login/oauth/authorize
grafana_github_token_url: https://github.com/login/oauth/access_token
grafana_github_api_url: https://api.github.com/user
grafana_github_team_ids:
grafana_github_allowed_organizations:
grafana_github_auth_allow_sign_up: true

# Google Auth
grafana_google_enabled: false                  # Enable Google Auth
grafana_google_client_id: some_id
grafana_google_client_secret: some_secret
grafana_google_scopes: https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email
grafana_google_auth_url: https://accounts.google.com/o/oauth2/auth
grafana_google_token_url: https://accounts.google.com/o/oauth2/token
grafana_google_api_url: https://www.googleapis.com/oauth2/v1/userinfo
grafana_google_allowed_domains: mycompany.com othercompany.com
grafana_google_auth_allow_sign_up: true

# Basic Auth
grafana_auth_basic_enabled: true

# Auth Proxy
grafana_auth_proxy_enabled: false
grafana_auth_proxy_header_name: X-WEBAUTH-USER
grafana_auth_proxy_header_property: username
grafana_auth_proxy_auto_sign_up: true

# Auth LDAP
grafana_auth_ldap_enabled: false
grafana_auth_ldap_config_file: /etc/grafana/ldap.toml

# SMTP / Emailing
grafana_smtp_enabled: false
grafana_smtp_host: localhost:25
grafana_smtp_user:
grafana_smtp_password:
grafana_smtp_cert_file:
grafana_smtp_key_file:
grafana_smtp_skip_verify: false
grafana_smtp_from_address: [email protected]
grafana_emails_welcome_email_on_sign_up: false

# Logging
grafana_log_mode: console, file
grafana_log_buffer_len: 10000
grafana_log_level: Info

# AMPQ Event Publisher
grafana_ampq_enabled: false
grafana_ampq_rabbitmq_url: amqp://localhost/
grafana_ampq_exchange: grafana_events

# Dashboard JSON files
grafana_dashboard_json_enabled: false
grafana_dashboard_json_path: /var/lib/grafana/dashboards

# Setup nginx configuration
grafana_nginx: false
grafana_nginx_servername: "{{inventory_hostname}}"
grafana_nginx_ssl: false
grafana_nginx_ssl_crt: ""
grafana_nginx_ssl_key: ""
grafana_nginx_ssl_redirect: "{{grafana_nginx_ssl}}"
grafana_nginx_port: 80

Usage

Add Stouts.grafana to your roles and setup the variables in your playbook file. Example:

- hosts: all

  roles:
    - Stouts.grafana

  vars:

License

Licensed under the MIT License. See the LICENSE file for details.

Feedback, bug-reports, requests, ...

Are welcome!

If you wish to express your appreciation for the role, you are welcome to send a postcard to:

Kirill Klenov
pos. Severny 8-3
MO, Istra, 143500
Russia
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].