Created
December 13, 2018 18:20
-
-
Save joshisa/95f73abd5abf0e94da9ccb80d77481a5 to your computer and use it in GitHub Desktop.
Loki Main jsonnet example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local base = import "../base.libsonnet"; | |
//local k = import "k.libsonnet"; | |
local promtail = import 'promtail/promtail.libsonnet'; | |
base + promtail + { | |
_config+:: { | |
namespace: 'loki', | |
promtail_config: { | |
scheme: 'https', | |
hostname: 'logs-us-west1.grafana.net', | |
username: 'user-id', | |
password: 'password', | |
}, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Decent Reference: https://jsonnet.org/learning/tutorial.html