grafana job from prometheus/1
Github source:
a86f5bba
or
master branch
Properties¶
grafana
¶
analytics
¶
check_for_updates
¶Set to false to disable all checks to https://grafana.net
google_analytics_ua_id
¶Google Analytics universal tracking code, only enabled if you specify an id here
reporting_enabled
¶Change this option to false to disable reporting.
app_mode
¶possible values : production, development
auth
¶
anonymous
¶
enabled
¶enable anonymous access
org_name
¶specify organization name that should be used for unauthenticated users
org_role
¶specify role for unauthenticated users
basic
¶
enabled
¶Auth basic enabled
github
¶
allow_sign_up
¶Github auth allow sign up
allowed_organizations
¶Github auth allowed organizations
api_url
¶Github auth api url
auth_url
¶Github auth url
client_id
¶Github auth client id
client_secret
¶Github auth client secret
enabled
¶Github auth enabled
scopes
¶Github auth scopes
team_ids
¶Github auth tema ids
token_url
¶Github auth token url
allow_sign_up
¶Google auth allow sign up
allowed_domains
¶Google auth allowed organizations
api_url
¶Google auth api url
auth_url
¶Google auth url
client_id
¶Google auth client id
client_secret
¶Google auth client secret
enabled
¶Google auth enabled
scopes
¶Google auth scopes
token_url
¶Google auth token url
ldap
¶
config
¶LDAP configuration (toml)
enabled
¶Auth LDAP enable
proxy
¶
auto_sign_up
¶Auth proxy auto sign up
enabled
¶Auth proxy enabled
header_name
¶Auth proxy header name
header_property
¶Auth proxy header property
database
¶
host
¶Database Host
name
¶Database Name
password
¶Database Password
path
¶For ‘sqlite3’ only, path relative to data_path setting
ssl_mode
¶For ‘postgres’ only, either ‘disable’, ‘require’ or ‘verify-full’
type
¶Database Type, either ‘mysql’, ‘postgres’ or ‘sqlite3’
user
¶Database User
emails
¶
welcome_email_on_sign_up
¶Welcome email on sign up
event_publisher
¶
enabled
¶Event publisher enabled
exchange
¶Exchange topic
rabbitmq_url
¶RabbitMQ URL
grafana_net
¶
url
¶Url used to to import dashboards directly from Grafana.net
log
¶
console
¶
format
¶log line format, valid options are text, console and json
level
¶log level
file
¶
daily_rotate
¶Segment log daily
format
¶log line format, valid options are text, console and json
level
¶log level
log_rotate
¶This enables automated log rotate(switch of following options)
max_days
¶Expired days of log file(delete after max days)
max_lines
¶Max line number of single file
max_size_shift
¶Max size shift of single file
level
¶log level. Either ‘trace’, ‘debug’, ‘info’, ‘warn’, ‘error’, ‘critical’
mode
¶Either ‘console’, ‘file’, ‘syslog’. Use space to separate multiple modes
syslog
¶
address
¶Syslog address
facility
¶Syslog facility. user, daemon and local0 through local7 are valid.
format
¶log line format, valid options are text, console and json
level
¶log level
network
¶Syslog network type. This can be udp, tcp, or unix
tag
¶Syslog tag
metrics
¶
enabled
¶Enable internal metrics
graphite
¶
address
¶Graphite address
prefix
¶Graphite prefix
interval_seconds
¶Publish interval
prometheus
¶
datasource_name
¶Name of the Prometheus datasource
- Default
prometheus
security
¶
admin_password
¶default admin password
- Default
admin
admin_user
¶default admin user
- Default
admin
cookie_remember_name
¶Auto-login cookie remember name
cookie_username
¶Auto-login cookie username
data_source_proxy_whitelist
¶data source proxy whitelist (ip_or_domain:port separated by spaces)
disable_gravatar
¶disable gravatar profile images
login_remember_days
¶Auto-login remember days
secret_key
¶used for signing
server
¶
domain
¶The public facing domain name used to access grafana from a browser
enable_gzip
¶Enable gzip
enforce_domain
¶Redirect to correct domain if host header does not match domain
http_port
¶The http port to bind to
- Default
3000
protocol
¶Protocol (http or https)
root_url
¶The full public facing url
router_logging
¶Log web requests
ssl_cert
¶SSL certificate (PEM encoded)
ssl_key
¶SSL private key (PEM encoded)
static_root_path
¶The relative working path
session
¶
cookie_name
¶Session cookie name
cookie_secure
¶If you use session in https only
provider
¶Either ‘memory’, ‘file’, ‘redis’, ‘mysql’, ‘postgres’
provider_config
¶Provider config options
session_life_time
¶Session life time
smtp
¶
enabled
¶SMTP enabled
from_address
¶SMTP from address
host
¶SMTP host
password
¶SMTP password
skip_verify
¶SMTP skip SSL verification
ssl_cert
¶SMTP SSL certificate
ssl_key
¶SMTP SSL private key
user
¶SMTP user
snapshots
¶
external_enabled
¶Extenal snaphot enabled
external_snapshot_name
¶External snapshot name
external_snapshot_url
¶External snapshot URL
users
¶
allow_org_create
¶Allow non admin users to create organizations
allow_sign_up
¶disable user signup / registration
auto_assign_org
¶Set to true to automatically assign new users to the default organization (id 1)
auto_assign_org_role
¶Default role new users will be automatically assigned (if disabled above is set to true)
default_theme
¶Default UI theme (‘dark’ or ‘light’)
login_hint
¶Background text for the user field on the login page
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/grafana/
directory
(learn more).
bin/grafana_ctl
(frombin/grafana_ctl
)bin/post-start
(frombin/post-start
)bin/prometheus-datasource
(frombin/prometheus-datasource
)config/grafana.ini
(fromconfig/grafana.ini
)config/ldap.toml
(fromconfig/ldap.toml
)config/smtp_cert.pem
(fromconfig/smtp_cert.pem
)config/smtp_key.pem
(fromconfig/smtp_key.pem
)config/ssl_cert.pem
(fromconfig/ssl_cert.pem
)config/ssl_key.pem
(fromconfig/ssl_key.pem
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.