grafana job from prometheus/12.0.0
Github source:
d3cee475
or
master branch
Properties¶
grafana
¶
alerting
¶
execute_alerts
¶Makes it possible to turn off alert rule execution
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
disable_login_form
¶Set to true to disable (hide) the login form, useful if you use OAuth, defaults to false
generic_oauth
¶
allow_sign_up
¶Generic OAuth allow sign up
allowed_domains
¶Generic OAuth allowed organizations
api_url
¶Generic OAuth api url
auth_url
¶Generic OAuth url
client_id
¶Generic OAuth client id
client_secret
¶Generic OAuth client secret
enabled
¶Generic OAuth enabled
name
¶Generic OAuth name
scopes
¶Generic OAuth scopes
team_ids
¶Generic OAuth team ids
tls_client_ca
¶Generic OAuth TLS Client CA
tls_client_cert
¶Generic OAuth TLS Client cert
tls_client_key
¶Generic OAuth TLS Client key
token_url
¶Generic OAuth token url
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
grafananet
¶
allow_sign_up
¶Grafana.net auth allow sign up
allowed_organizations
¶Grafana.net auth allowed organizations
client_id
¶Grafana.net auth client id
client_secret
¶Grafana.net auth client secret
enabled
¶Grafana.net auth enabled
scopes
¶Grafana.net auth scopes
ldap
¶
allow_sign_up
¶Auth LDAP allow sign up
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
dashboards
¶
json
¶
enabled
¶Enable Dashboard JSON files
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
external_image_storage
¶
provider
¶Used for uploading images to public servers so they can be included in slack/email messages (s3, webdav)
s3
¶
access_key
¶S3 Access Key
bucket_url
¶S3 Bucket URL
secret_key
¶S3 Secret Key
webdav
¶
password
¶Webdav Password
url
¶Webdav URL
username
¶Webdav Username
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
filters
¶Optional settings to set different levels for specific loggers
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
¶
dashboard_files
¶Array of dashboard json file locations
datasource_input_name
¶Name of the Prometehus datasource input name
- Default
DS_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
remove_expired
¶Remove expired snapshots
ttl_days
¶Snapshots TTL days
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-dashboards
(frombin/prometheus-dashboards
)bin/prometheus-datasource
(frombin/prometheus-datasource
)config/generic_oauth_tls_client_ca.pem
(fromconfig/generic_oauth_tls_client_ca.pem
)config/generic_oauth_tls_client_cert.pem
(fromconfig/generic_oauth_tls_client_cert.pem
)config/generic_oauth_tls_client_key.pem
(fromconfig/generic_oauth_tls_client_key.pem
)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.