grafana set domain

This commit is contained in:
mwiegand 2022-04-09 16:32:08 +02:00
parent 33d973927c
commit 824b10546d

View file

@ -55,6 +55,20 @@ defaults = {
}
@metadata_reactor.provides(
'grafana/config/server/domain',
)
def domain(metadata):
return {
'grafana': {
'config': {
'server': {
'domain': metadata.get('grafana/hostname'),
},
},
},
}
@metadata_reactor.provides(
'grafana/datasources',
)