소스 검색

Added writing to Time Series Database KairosDB

pull/194/head
Johannes 7 년 전
부모
커밋
c34939ff40
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      modules/logs/endpoints.py

+ 2
- 2
modules/logs/endpoints.py 파일 보기

@@ -63,10 +63,10 @@ class LogView(FlaskView):
def querry_tsdb(self, type, id):
kairosdb_server = "http://127.0.0.1:" + cbpi.cache["config"]["kairos_db_port"].__dict__["value"]

tag = ""

if cbpi.cache["active_brew"] != "" and cbpi.cache["active_brew"] != "none":
tag = '"brew": "%s"' % cbpi.cache["active_brew"]
else:
tag = ""

data = dict(metrics=[
{


불러오는 중...
취소
저장