diff --git a/CHANGELOG.md b/CHANGELOG.md index c0d398f1e..a96794044 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ ### Bugfixes +- [#2607](https://github.com/influxdata/telegraf/issues/2607): Errors in log should be more explicit - [#2819](https://github.com/influxdata/telegraf/pull/2819): [enh] set db_version at 0 if query version fails - [#2749](https://github.com/influxdata/telegraf/pull/2749): Fixed sqlserver input to work with case sensitive server collation. - [#2716](https://github.com/influxdata/telegraf/pull/2716): Systemd does not see all shutdowns as failures diff --git a/plugins/inputs/cassandra/cassandra.go b/plugins/inputs/cassandra/cassandra.go index 88bb3f577..7dabe3b1b 100644 --- a/plugins/inputs/cassandra/cassandra.go +++ b/plugins/inputs/cassandra/cassandra.go @@ -296,7 +296,7 @@ func (c *Cassandra) Gather(acc telegraf.Accumulator) error { continue } if out["status"] != 200.0 { - acc.AddError(fmt.Errorf("URL returned with status %v\n", out["status"])) + acc.AddError(fmt.Errorf("URL returned with status %v - %s\n", out["status"], requestUrl)) continue } m.addTagsFields(out)