包含中文1
2html_dict = {'key': 'value'}
json_str = json.dumps(html_dict, ensure_ascii=False, encoding='utf-8')
包含中文1
2html_dict = {'key': 'value'}
json_str = json.dumps(html_dict, ensure_ascii=False, encoding='utf-8')
1 | wget https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-4.3.2-1.x86_64.rpm |
1 | /etc/grafana/grafana.ini |
1 | service grafana-server start |
1 | sudo systemctl enable grafana-server.service |
1 | $topic SHOW TAG VALUES WITH KEY = "topic" |
1 | -h 执行命令的远程主机列表,文件内容格式[user@]host[:port] 如 test@172.16.10.10:229 |
1 | pscp -h ip文件 本地文件 远程目录 |
在官网下载压缩包,解压后进入文件夹即可
先在windows下执行 bin/jmeter.bat,
在图形界面下配置好参数,然后保存配置jmx文件
1 | # 启动执行server |
1 | -n This specifies JMeter is to run in non-gui mode |
1 | wget https://dl.influxdata.com/influxdb/releases/influxdb-1.2.4.x86_64.rpm |
1 | wget https://dl.influxdata.com/chronograf/releases/chronograf-1.3.2.1.x86_64.rpm |
1 | /etc/influxdb/influxdb.conf |
1 | service influxdb start |
1 | CREATE RETENTION POLICY "roll" ON "dc" DURATION 3d REPLICATION 1 DEFAULT |
1 | # 查看series |
1 | def gzip_compress(buf, compresslevel=6): |
1 | def gzip_decompress(buf): |