ユーザ用ツール

サイト用ツール


サイドバー

Index

はじめてのおつかい






DokuWiki整形記法


PlayGround



serverapps:monitor:grafana

文書の過去の版を表示しています。


Grafana

Install

pkg install grafana8

メモ

- Invoking python script from dashboard

If you’re talking about running Python in the user’s browser, that’s not possible AFAIK.

If you want to run a Python script on the server, you’ll want to set up and expose an HTTP API endpoint that triggers it, which you then call from the Grafana front-end (e.g. via Ajax). For that you might want to use some combination of Flask/uWSGI/Nginx (see e.g. Creating an API to execute a python script - Stack Overflow 195).
serverapps/monitor/grafana.1652683880.txt.gz · 最終更新: 2022/05/16 15:51 by hayashi