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

Influxdb reporter is unavailable. #1706

Closed
sasa-git opened this issue Mar 17, 2023 · 1 comment
Closed

Influxdb reporter is unavailable. #1706

sasa-git opened this issue Mar 17, 2023 · 1 comment
Assignees

Comments

@sasa-git
Copy link

Hi!

The recently added InfluxDB Reporter is very attractive!

However, I got an error when I consulted the documentation.
https://gettaurus.org/docs/Reporting/#Influxdb-Reporter

Like this.

(...)
    modules:
      influxdb:
        class: influxdb_reporter.InfluxdbStatusReporter
        host: localhost # influxdb address (default: localhost)
        port: 8086 # port (default: 8086)
        database: jmeter # the datasource name
        measurement: taurus # the measurement name
        username: ... # username if influxdb authentication enabled
        password: ...  # password if influxdb authentication enabled
        summary: true  # overall samples count and percent of failures
        percentiles: true  # send average times and percentiles
        send-data: true # enable/disable the sending
        send-interval: 30s   # send data each n-th second

received error on log;

ERROR: Config Error: 'application' property must be set. You should fix your configuration.

With reference to the source, data was sent to Influxdb correctly when specified as follows.

modules:
  influxdb-reporter:
    host: localhost # influxdb address (default: localhost)
    port: 8086 # port (default: 8086)
    database: jmeter # the datasource name
    measurement: taurus # the measurement name
    username: taurus # username if influxdb authentication enabled
    password: password  # password if influxdb authentication enabled
    summary: true  # overall samples count and percent of failures
    percentiles: true  # send average times and percentiles
    send-data: true # enable/disable the sending
    send-interval: 5s   # send data each n-th second
    application: hogehoge
@matus-gazo
Copy link
Contributor

matus-gazo commented Mar 20, 2023

Hi @sasasoni ,

Thanks for pointing this out! I have made the 'application' property optional for now, meaning it will leave out the application tag if not specified. Also updated the docs. Hope that helps!

c9c6bdf

Change will be included in next release.

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