influxdata / influxdata/influxdb
Unable to write metrics to InfluxDB from jmeter
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
__Steps to reproduce:__
List the minimal actions needed to reproduce the behavior.
1. Configured JMETER Backend Listener as per the documentation and created the organisation, bucket, API token with read & write to the same bucket, but getting error as "Error writing metrics to influxDB Url: http://localhost:8086/api/v2/write?org=sohohouse&bucket=jmeter, responseCode: 404, responseBody: {"error":"database not found: \"jmeter\""}"
__Expected behavior:__
Able to write data to the bucket
__Actual behavior:__
unable to write data to InfluxDB. Unable to understand why error thrown as database not found when trying to connect to bucket.
__Environment info:__
* System info:Windows desktop
* InfluxDB version: Influx CLI 2.4.0 (git: 5c7c34f) build_date: 2022-08-18T19:26:48Z
Contributor guide
Research direction
Start with the JMeter Backend Listener configuration and the InfluxDB v2 /api/v2/write endpoint shown in the report; verify how the bucket and organization are represented in the request. Done means identifying why the request returns database not found and documenting or correcting the configuration so metrics are written to the jmeter bucket.
Written by the indexing model from the issue text.
Assessment
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100