Changes between Initial Version and Version 1 of jazz/17-08-16


Ignore:
Timestamp:
Aug 16, 2017, 5:48:02 PM (7 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/17-08-16

    v1 v1  
     1= 2017-08-16 =
     2
     3== Grafana ==
     4
     5* Grafana 雖然有提供很多 Dashboard Template 可以匯入,但能否自動化呢?
     6* 測試了一下,預設 Grafana 如果用的是 SQLite,就可以試試看把 Data Source 跟 Dashboard 直接寫進 SQLite
     7{{{
     8~/grafana-4.4.3/data$ file grafana.db
     9grafana.db: SQLite 3.x database
     10~/grafana-4.4.3/data$ sqlite3 grafana.db
     11SQLite version 3.8.7.1 2014-10-29 13:59:56
     12Enter ".help" for usage hints.
     13sqlite> .tables
     14alert               dashboard_tag       playlist            star             
     15alert_notification  dashboard_version   playlist_item       temp_user         
     16annotation          data_source         plugin_setting      test_data         
     17api_key             migration_log       preferences         user             
     18dashboard           org                 quota             
     19dashboard_snapshot  org_user            session
     20}}}