Skip to content

ArberChang/middle-stage

 
 

Repository files navigation

This is a Project for ELK & Influxdb & Grafana

Content

  • ELK
  • InfluxDB & Grafana

ELK

IG

  • Run Command: $ npm run ig:start .
  • Stop Command: $ npm run ig:stop .
  • Restart Command: $ npm run ig:restart .
InfluxDB

The Doc: https://docs.influxdata.com/influxdb/v1.7/introduction/getting-started/

Shell Into Influx Docker: $ docker exec -it influxdb influx .

Use http api init db

Manual: https://docs.influxdata.com/influxdb/v1.7/tools/api/

  1. create db

curl -i -XPOST http://localhost:19786/query --data-urlencode "q=CREATE DATABASE mydb"

  1. write point

curl -i -XPOST 'http://localhost:19786/write?db=mydb' --data-binary 'cpu_load_short,host=server01,region=us-west value=0.64'

About

数据中台

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 79.8%
  • Dockerfile 20.2%