InfluxDB

Kubernetes Dashboard1.8.3部署

我只是一个虾纸丫 提交于 2020-01-08 19:12:53
Kubernetes Dashboard1.8.3部署 说明 下文中所需镜像请点击 images 自行下载使用! 安装dashboard #下载yaml wget https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml #查看yaml中image image: k8s.gcr.io/kubernetes-dashboard-amd64:v1.8.3 安装heapster #下载yaml wget https://raw.githubusercontent.com/kubernetes/heapster/master/deploy/kube-config/influxdb/grafana.yaml wget https://raw.githubusercontent.com/kubernetes/heapster/master/deploy/kube-config/rbac/heapster-rbac.yaml wget https://raw.githubusercontent.com/kubernetes/heapster/master/deploy/kube-config/influxdb/heapster

Influx Database error when writing to history file

故事扮演 提交于 2020-01-07 03:58:09
问题 I am using influxDB. when I run a command e.g. SHOW measurements from influx CLI I get the following Error: there was an error writing history file : open : The system file cannot find the file specified . How can I resolve this? 回答1: For windows: 1) Create the influx.bat file as below: @ECHO OFF SETLOCAL SET HOME=%~dp0 "%~dp0\influx.exe" %* ENDLOCAL 2) save it in the same directory as influxdb executable files. See screenshot 来源: https://stackoverflow.com/questions/45437608/influx-database

MQTT收到的信息无法导入influxdb处理过程

强颜欢笑 提交于 2020-01-06 17:17:33
从供应商nodered发送的设备数据,要传到MQTT sever,通过telegraf采集到influxdb,死活不成功。连夜研究,发现mqtt接受到的信息格式可能不对。 今天用python详细跟踪message的订阅和发出内容,果然是格式问题,不符合influxdb规范。经Python处理后再发出,问题解决。 iiot很多知识点很新,希望加强学习和大家多互动。 来源: CSDN 作者: 不灭的汉人 链接: https://blog.csdn.net/charliechencn/article/details/103849506

querying data with micrometer

試著忘記壹切 提交于 2020-01-06 14:54:28
问题 We have this fancy monitoring system to which our spring-boot services are posting metrics to an influx DB with micrometer. There's a nice grafana frontend, but the problem is that we're now at a stage where we have to have some of these metrics available in other services to reason on. The whole system was set up by my predecessor, and my current understanding of it is practically zero. I can add and post new metrics, but I can't for the life of me get anything out of it. Here's a short

Spark应用监控解决方案--使用Prometheus和Grafana监控Spark应用

℡╲_俬逩灬. 提交于 2020-01-06 05:11:33
Spark任务启动后,我们通常都是通过跳板机去Spark UI界面查看对应任务的信息,一旦任务多了之后,这将会是让人头疼的问题。如果能将所有任务信息集中起来监控,那将会是很完美的事情。 通过S park官网指导文档 ,发现Spark只支持以下sink Each instance can report to zero or more sinks . Sinks are contained in the org.apache.spark.metrics.sink package: ConsoleSink : Logs metrics information to the console. CSVSink : Exports metrics data to CSV files at regular intervals. JmxSink : Registers metrics for viewing in a JMX console. MetricsServlet : Adds a servlet within the existing Spark UI to serve metrics data as JSON data. GraphiteSink : Sends metrics to a Graphite node. Slf4jSink : Sends metrics to slf4j

How do I group by count of a field in InfluxDB?

本秂侑毒 提交于 2020-01-01 15:07:25
问题 I have some data in InfluxDB that is connected events for certain TCP connections. So the measurement is connection_events with tags being: mac_address of connecting system, and some other metadata. The value is just connected=true|false What I want to do is something like this: select count(mac_address), mac_address from connection_events where count(mac_address) > X group by mac_address In other words, I want to see results like: 28,ABCD 14,EFGH 3,XYZQ However, InfluxDB doesn't like this

How to delete columns of a series in InfluxDB

只谈情不闲聊 提交于 2020-01-01 08:56:26
问题 Is there any solution to remove a specific column of a series in InfluxDB? Its seems that this feature is not implemented. But does anybody have found any kind of trick to do that? 回答1: There is no way to delete a "column" (i.e. a field or a tag) from an Influx measurement. Here's the feature request for that. You'll have to SELECT INTO a different measurement, excluding the columns you don't want: SELECT useful_field, nice_tag INTO new_measurement FROM measurement 来源: https://stackoverflow

Influx DB first explore

狂风中的少年 提交于 2019-12-26 15:43:44
Key characters: Store time series data: Data volume is large High number of concurrent reads/writes Optimized for (C)reate, (R)ead: TSM Tree Limited support for (U)pdate, (D)elet Serial data is more important than single data point: No traditional id, data identified by series and timestamp Good support for aggregation Schemaless New tags can be added to new data record on demand Key concept: Measurement: Similar to SQL table Tag: Searchable Indexed Value must be string Cardinality limitation: (memory) Optional Support group by Field: Searchable (full scan) Not indexed Value can be string,

InfluxDB 模糊查询

蓝咒 提交于 2019-12-26 13:00:44
InfluxDB模糊查询 通过正则表达式的方式查询 正则表达式点击教程 以【模糊条件】开头的查询方式 SELECT * FROM "tablename" where column =~ /^模糊条件/ limit 1000 以【模糊条件】结尾的查询方式 SELECT * FROM "tablename" where column =~ /模糊条件$/ limit 1000 包含【模糊条件】的查询方式 SELECT * FROM "tablename" where column =~ /模糊条件/ limit 1000 来源: CSDN 作者: 成伟Frey 链接: https://blog.csdn.net/fanchw/article/details/103710153

How to get the sum value from the Influx using a time range?

百般思念 提交于 2019-12-25 11:48:10
问题 I used Influx for recording some serial data, and show the reports of these data. I have a requirement like this: Get the total sum of the value in the time 07:00 AM to 09:00 AM from 2017-05-11 to 2017-05-17. In mysql, this is very easy, since you can get this value using one query: select sum(value) from series where time(time) >= '07:00:00' and time(time) < '09:00:00' and time > '2017-05-11' and time < '2017-05-19' But in Influx(I'm using 1.0.2 now), I can't see any functions like this, did