Skip to content

Commit

Permalink
Add chart values
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill O'Neil authored and Bill O'Neil committed Nov 20, 2021
1 parent b078f73 commit 1a7c4db
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions k8s/chart/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
promtail:
config:
# -- The log level of the Promtail server
# Must be reference in `config.file` to configure `server.log_level`
# See default config in `values.yaml`
logLevel: info
# -- The port of the Promtail server
# Must be reference in `config.file` to configure `server.http_listen_port`
# See default config in `values.yaml`
serverPort: 3101
# -- The Loki address to post logs to.
# Must be reference in `config.file` to configure `client.url`.
# See default config in `values.yaml`
lokiAddress: https://{masked}@logs-prod-us-central1.grafana.net/api/prom/push
# -- A section of reusable snippets that can be reference in `config.file`.
# Custom snippets may be added in order to reduce redundancy.
# This is especially helpful when multiple `kubernetes_sd_configs` are use which usually have large parts in common.
# @default -- See `values.yaml`
snippets:

# If set to true, adds an additional label for the scrape job.
# This helps debug the Promtail config.
addScrapeJobLabel: false

# -- You can put here any keys that will be directly added to the config file's 'client' block.
# @default -- empty
extraClientConfigs: ""

# Explicitly turn off the defaults for now.
# scrapeConfigs: ""

# -- You can put here any additional scrape configs you want to add to the config file.
# @default -- empty
extraScrapeConfigs: |
- job_name: sj-web
pipeline_stages:
- match:
selector: '{app="sj-web"}'
stages:
- json:
expressions:
level: level
message: message
timestamp: timestamp
logger_name: logger_name
stack_trace: stack_trace
thread_name: thread_name
extraRelabelConfigs: []

0 comments on commit 1a7c4db

Please sign in to comment.