본문 바로가기

Data

(11)
[InfluxDB] Why Flux? InfluxDB 2.* 에서는 InfluxQL 이 없어지고 Flux 가 전면에 등장했다. 왜 이런 방향을 잡았나 궁금해서 좀 찾아보는 중. 마침 눈에 띄는 기사가 있다. Flux & Time to Awesome – InfluxData interview But when you’re working with time series data, you don’t necessarily care about the specific point in time record; What you care about is an aggregation of data over time and looking at the change of that over time and so that that simply requires a differe..
InfluxDB 2.* 클라이언트 샘플 테스트 제공되는 클라이언트 샘플 소스를 이용해서 조회 테스트를 해본다. Go lang package main import ( "context" "fmt" "github.com/influxdata/influxdb-client-go" ) func main() { token := "..." org := "..." url := "http://...:9999" client := influxdb2.NewClient(url, token) queryApi := client.QueryApi(org) query := `from(bucket:"market") |> range(start: -2d) //|> filter(fn: (r) => r._measurement == "tickers" and r.ticker == "AAPL" an..
InfluxDB 2.* 설치 간단히 테스트해볼게 있어 설치부터 다시 해보려 싸이트 접속해보니 2 Beta 버전이 나와 있다. V 1.* 에서는 윈도우용도 제공됐는데 아직 V2 Beta 에선 없길래 그냥 리눅스용 받아서 압축 풀고 기본 설정 변경 없이 데몬 띄우고 ... 그리곤 막혔다. 그제사 공식 문서 훑기 시작. https://v2.docs.influxdata.com/v2.0/get-started/#set-up-influxdb Get started with InfluxDB | InfluxDB 2.0 Documentation Get started with InfluxDBThe InfluxDB 2.0 time series platform is purpose-built to collect, store, process and visual..