~lihuiguo/charm-grafana:register-dashboard

Last commit made on 2021-10-07
Get this branch:
git clone -b register-dashboard https://git.launchpad.net/~lihuiguo/charm-grafana
Only Linda Guo can upload to this branch. If you are Linda Guo please log in for upload directions.

Branch merges

Branch information

Name:
register-dashboard
Repository:
lp:~lihuiguo/charm-grafana

Recent commits

fc73c55... by Linda Guo

Add application-dashboard relation

add application-dashboard relation hook to
register grafana to Homer dashboard[1]

[1]. https://launchpad.net/charm-homer-dashboard

Resolves: LP#1945716

c947682... by Felipe Reyes

This MP addresses feedback left in https://code.launchpad.net/~freyes/charm-grafana/+git/charm-grafana/+merge/407900 .

Reviewed-on: https://code.launchpad.net/~freyes/charm-grafana/+git/charm-grafana/+merge/408635
Reviewed-by: James Troup <email address hidden>

e87f080... by Felipe Reyes

Minor refactor to _ensure_certs_permissions().

Move the assignment of inst_method to the beginning of the function and
use it in the rest of it instead of calling hookenv.config() many times.

176b342... by Felipe Reyes

Fix grammar errors in the comments.

1eaa29a... by Felipe Reyes

Fix format error

cb853f6... by Felipe Reyes

Add ssl_ca, ssl_cert and ssl_key config options

Reviewed-on: https://code.launchpad.net/~freyes/charm-grafana/+git/charm-grafana/+merge/407900
Reviewed-by: James Troup <email address hidden>

62caaf6... by Felipe Reyes

Add ssl_ca, ssl_cert and ssl_key config options

This change enables operators that want to pass manually generated
certificates instead of relating grafana charm to Vault to do it using
"juju config".

The functional test deploys a HTTP environment, then at the setup stage
a self-signed certificate is genenerated for grafana/0, then they are
set in grafana via 'juju config ssl_*' once the units are idle the rest
of the testing suite is executed.

Fixes-Bug: #1893137

3b7ba54... by Seyeong Kim

once prometheus is down or something wrong when grafana checks it then the status is blocked,
it is not going back to active unless we change config then it triggers proper function.

e.g juju config grafana debug=True or False

this patch includes code that status_set to active when prometheus returns 200

Reviewed-on: https://code.launchpad.net/~seyeongkim/charm-grafana/+git/charm-grafana/+merge/408267
Reviewed-by: James Troup <email address hidden>

ed36ef1... by Seyeong Kim

blocked to active when normal

628aeb5... by Felipe Reyes

Add tls-client layer to support HTTPS

Reviewed-on: https://code.launchpad.net/~freyes/charm-grafana/+git/charm-grafana/+merge/406763
Reviewed-by: James Troup <email address hidden>