Sha256: 67f0356058502a3121a06daf22a62a6f25d38640fee4c25ee5e30c8ac49b3acb

Contents?: true

Size: 1.82 KB

Versions: 17

Compression:

Stored size: 1.82 KB

Contents

# see https://github.com/ankane/blazer for more info

data_sources:
  main:
    url: <%%= ENV["BLAZER_DATABASE_URL"] %>

    # statement timeout, in seconds
    # none by default
    # timeout: 15

    # caching settings
    # can greatly improve speed
    # off by default
    # cache:
    #   mode: slow # or all
    #   expires_in: 60 # min
    #   slow_threshold: 15 # sec, only used in slow mode

    # wrap queries in a transaction for safety
    # not necessary if you use a read-only user
    # true by default
    # use_transaction: false

    smart_variables:
      # zone_id: "SELECT id, name FROM zones ORDER BY name ASC"
      # period: ["day", "week", "month"]
      # status: {0: "Active", 1: "Archived"}

    linked_columns:
      # user_id: "/admin/users/{value}"

    smart_columns:
      # user_id: "SELECT id, name FROM users WHERE id IN {value}"

# create audits
audit: true

# change the time zone
# time_zone: "Pacific Time (US & Canada)"

# class name of the user model
# user_class: User

# method name for the current user
# user_method: current_user

# method name for the display name
# user_name: name

# custom before_action to use for auth
# before_action_method: require_admin

# email to send checks from
# from_email: blazer@example.org

# webhook for Slack
# slack_webhook_url: <%%= ENV["BLAZER_SLACK_WEBHOOK_URL"] %>

check_schedules:
  - "1 day"
  - "1 hour"
  - "5 minutes"

# enable anomaly detection
# note: with trend, time series are sent to https://trendapi.org
# anomaly_checks: prophet / trend / anomaly_detection

# enable forecasting
# note: with trend, time series are sent to https://trendapi.org
# forecasting: prophet / trend

# enable map
# mapbox_access_token: <%%= ENV["MAPBOX_ACCESS_TOKEN"] %>

# enable uploads
# uploads:
#   url: <%%= ENV["BLAZER_UPLOADS_URL"] %>
#   schema: uploads
#   data_source: main

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
blazer-3.1.0 lib/generators/blazer/templates/config.yml.tt
blazer-3.0.4 lib/generators/blazer/templates/config.yml.tt
blazer_xlsx-3.0.8 lib/generators/blazer/templates/config.yml.tt
blazer_xlsx-3.0.7 lib/generators/blazer/templates/config.yml.tt
blazer_xlsx-3.0.6 lib/generators/blazer/templates/config.yml.tt
blazer_xlsx-3.0.5 lib/generators/blazer/templates/config.yml.tt
blazer-3.0.3 lib/generators/blazer/templates/config.yml.tt
blazer-3.0.2 lib/generators/blazer/templates/config.yml.tt
blazer-3.0.1 lib/generators/blazer/templates/config.yml.tt
blazer-3.0.0 lib/generators/blazer/templates/config.yml.tt
blazer-2.6.5 lib/generators/blazer/templates/config.yml.tt
blazer-2.6.4 lib/generators/blazer/templates/config.yml.tt
blazer-2.6.3 lib/generators/blazer/templates/config.yml.tt
blazer-2.6.2 lib/generators/blazer/templates/config.yml.tt
blazer-2.6.1 lib/generators/blazer/templates/config.yml.tt
blazer-2.6.0 lib/generators/blazer/templates/config.yml.tt
blazer-2.5.0 lib/generators/blazer/templates/config.yml.tt