LoginSignup
1
4

More than 5 years have passed since last update.

redashにprometheusのdatasourceを追加する

Posted at

概要

デフォルトではredashにprometheusのデータソースが見つからなかったので追加しました。

環境情報

  • Docker 17.05.0-ce
  • docker-compose 1.18.0
  • redash 4.0.0

設定

  • docker-compose.ymlのenvironmentに以下を追加して起動するだけです。
REDASH_ADDITIONAL_QUERY_RUNNERS: redash.query_runner.prometheus
  • DockerFileの場合はENVに追加します
ENV REDASH_ADDITIONAL_QUERY_RUNNERS=redash.query_runner.prometheus
  • 環境変数なので.envにexport書いてもOKだと思います
1
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
4