[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: "retention policy not found: autogen" #18

Open
jacekokrojek opened this issue Sep 9, 2017 · 1 comment
Open

Error: "retention policy not found: autogen" #18

jacekokrojek opened this issue Sep 9, 2017 · 1 comment

Comments

@jacekokrojek
Copy link

When I try to use JMeter-InfluxDB-Writer I get following error

`
SEVERE: Batch could not be sent. Data will be lost
java.lang.RuntimeException: {"error":"retention policy not found: autogen"}

    at org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:266)
    at org.influxdb.impl.InfluxDBImpl.write(InfluxDBImpl.java:167)
    at org.influxdb.impl.BatchProcessor.write(BatchProcessor.java:171)
    at org.influxdb.impl.BatchProcessor.flush(BatchProcessor.java:198)
    at org.influxdb.impl.InfluxDBImpl.disableBatch(InfluxDBImpl.java:108)
    at rocks.nt.apm.jmeter.JMeterInfluxDBBackendListenerClient.teardownTest(JMeterInfluxDBBackendListenerClient.java:147)
    at org.apache.jmeter.visualizers.backend.BackendListener.testEnded(BackendListener.java:393)
    at org.apache.jmeter.visualizers.backend.BackendListener.testEnded(BackendListener.java:403)
    at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfEnd(StandardJMeterEngine.java:230)
    at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:498)
    at java.lang.Thread.run(Unknown Source)

`

I user JMeter 3.2 and Java 1.8.0_144

@dmitryvorobev
Copy link
dmitryvorobev commented May 28, 2018
  1. run following command on your influx DB
    SHOW RETENTION POLICIES ON your_db_name
  2. use name of RETENTION POLICIES from request result in the retentionPolicy parameter in Jmeter Backend Listener.
    ps. In my case it looked in Jmeter like: retentionPolicy default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants