Data(25)
-
PostgreSQL Container 구성
tcp 통신으로 proxy와 연동해야 함# stream proxy 설정stream { server { listen {외부 port}; proxy_connect_timeout 60s; proxy_socket_keepalive on; proxy_pass {node IP}:{service port}; }}Service에서 nodePort 사용: ingress 사용 안함apiVersion: v1kind: Servicemetadata: name: {service} namespace: {namespace}spec: type: NodePort selector: app: {pod} ports: - protocol: TCP # mi..
2024.04.10 -
Flux 문법
field 합계 _time 컬럼으로 group by를 수행하고, _value로 값을 합침 aggregateWindow의 every 단위로 값의 mean하여 그래프로 보여줌 from(bucket: "nbminer") |> range(start: v.timeRangeStart, stop: v.timeRangeStop) |> filter(fn: (r) => r["_measurement"] == "mining") |> filter(fn: (r) => r["_field"] == "hashrate") |> group(columns: ["_time"], mode: "by") |> sum(column: "_value") |> aggregateWindow(every: v.windowPeriod, fn: mean, cre..
2022.02.03 -
InfluxDB 연동
2.0 이상 https://github.com/influxdata/influxdb-client-java GitHub - influxdata/influxdb-client-java: InfluxDB 2 JVM Based Clients InfluxDB 2 JVM Based Clients. Contribute to influxdata/influxdb-client-java development by creating an account on GitHub. github.com # pom.xml 추가 com.influxdb influxdb-client-java 4.0.0 org.influxdb.influxdbexception: {"code":"unauthorized","message":"unauthorized"} 2...
2021.12.26 -
Influxdb 설치
https://hub.docker.com/_/influxdb Influxdb - Official Image | Docker Hub We and third parties use cookies or similar technologies ("Cookies") as described below to collect and process personal data, such as your IP address or browser information. You can learn more about how this site uses Cookies by reading our privacy policy hub.docker.com docker pull influxdb # influxdb 환경변수 셋팅 set INFLUXDB_H..
2021.12.26 -
기상청 과거자로 URL
https://www.weather.go.kr/weather/climate/past_cal.jsp?stn=108&yy=2019&mm=11&obs=1&x=35&y=6
2019.11.18 -
기상청 과거 날씨 데이터
http://data.kma.go.kr/ 한번에 120개월 데이터만 조회 가능
2019.11.13