Questions tagged [influxdb-2]

More information here https://v2.docs.influxdata.com/v2.0/. Version 2 uses a new query language called Flux and it is also reactive in nature.

289 questions
0
votes
1 answer

Influx - just starting to get "authorization not found" error after having connected before

Using Windows downloadable EXEs for Influx. Was connecting and working great until this morning. I started influxd today, and I see in the console: c:\Influx>influxd 2021-06-10T06:21:49.336269Z info Welcome to InfluxDB {"log_id":…
Guy
  • 666
  • 1
  • 10
  • 34
0
votes
2 answers

Send an alert notification from InfluxDb to Microsoft Teams

I am running an influxDb, on my server, and I created below: Notification Check Notification Endpoint (HTTP POST) Notification Rule All above are running successfuly I have also created a webhook connector to Microsoft teams in order for InfluxDb…
0
votes
1 answer

InfluxDBListener - Getting 401 using with locust

Running a docker container InfluxDB database, and I'm trying to use the InfluxDBListener to send locust data to the database. Here's my code: @events.init.add_listener def on_locust_init(environment, **_kwargs): """ Hook event that enables…
Guy
  • 666
  • 1
  • 10
  • 34
0
votes
1 answer

Write data points to InfluxDB2

So I am trying to write a couple data points manually for testing purposes. I do see where in the InfluxDB2 UI, you can manually write data points to a bucket via the line protocol, upload a file, etc. I know I will have to shutdown Telegraf so it…
iSharted
  • 13
  • 3
0
votes
1 answer

InfluxDB 2.0 How to find out how many queries are being executed

I'm using InfluxDB 2.0. Looking to go to the cloud in production when all my testing is done. I'm trying to evaluate the amount of queries my load is going to generate. I would like to be able to know how much queries are generated by specific load…
Danielle Paquette-Harvey
  • 1,691
  • 1
  • 16
  • 31
0
votes
1 answer

InfluxDB2 Authorization failing for HTTP API

I have been trying to externally log data to my home server with a little GSM modem and InfluxDB2 HTTP API- it is far away and needs to be external, just checking water levels and other system stuff. I am struggeling to understand the correct…
Spider999
  • 135
  • 1
  • 8
  • 17
0
votes
2 answers

Collect metrics from a Prometheus server to telegraf

I have a prometheus server running on a K8s instance and telegraf on a different cluster. Is there some way to pull metrics from the prometheus server using telegraf? I know there is telegraf support for scraping metrics from prometheus clients but…
0
votes
1 answer

I want to know the meaning of the value coming from the jmeter backend listener

Jmeter backend listener I send the result value to influxdb through this backend listener And I can receive this value. data data However, I don't know what the meaning of this value is. Can you help me? thank you!
M.Woo
  • 3
  • 1
0
votes
1 answer

Evaluation of thousands metrics in InfuxDB

I’m trying to evaluate thousands of metrics using a checkers, but my computer doesn’t count it. I tried tasks too. PC: notebook with Core i5 (8 threads) and 16 GB RAM I’m running influxdb in the docker (6 threads, 8 GB RAM is allowed). Have you some…
0
votes
1 answer

Write to InfluxDB 2.x with 1.x Client

I'm unable to workaround an unauthorized response from InfluxDB 2 when using the 1.x write endpoint. The setup: From the InfluxDB 2.0 docs, it states it has some 1.x compatibility: The InfluxDB v2 API includes InfluxDB 1.x compatibility endpoints…
Nick Babcock
  • 6,111
  • 3
  • 27
  • 43
0
votes
1 answer

httr POST error: "invalid charachter '-' in numeric literal"

I am new to Influx and R and I am trying to query data from InfluxDB 1.8.4 (with Flux enabled) in R Studio. I can't figure out what's wrong with my code: dburl <- "http://localhost:8086/api/v2/query" influxquery <- sprintf( 'from(bucket:…
strittmm
  • 53
  • 1
  • 8
0
votes
1 answer

Is there a way a task could iterate over measurements and aggregate data into another bucket?

I’m using a bucket for collecting tick data for multiple symbols in Binance (e.g. ETH/BTC and BNB/BTC) and storing on different measurements (binance_ethbtc and binance_bnbbtc respectively) and that’s working fine. Other than that, I’d like to make…
Gabriel Milan
  • 702
  • 2
  • 7
  • 21
0
votes
1 answer

Average value from InfuxDB v2

I have 2 outdoor temperature sources that I can save in InfuxDB v2. Now I’m trying to write Flux query in Grafana to display the average temperature graph. Both temperatures have the same “measurement”, “field” and “where” tag, and difference is…
0
votes
1 answer

How to write data with defined token or user/password into InfluxDB 2.0

I need to set an influxdb 2.0.3 to be able to write data into it with a defined set of user/pass or token. My use case is to provide a software component before deploy influxdb, and this component need to have a predefined configuration to write…
YLR
  • 1,503
  • 4
  • 21
  • 28
0
votes
1 answer

Why I cannot query Influxdbv2 data using python?

I'm trying to query data from InfluxDBv2 (2.0.2) using python3. The query is in flux, it works well inside InfluxDB (it displays the data well). I've tried to executed inside the same VM (Ubuntu 18.04) and the host machine (Windows10 Jupyter…
R2D2
  • 153
  • 2
  • 13