chronograf icon indicating copy to clipboard operation
chronograf copied to clipboard

Can't specify telegraf db

Open unixninja92 opened this issue 10 years ago • 9 comments

We use a non standard db name for telegraf metrics. The host list is currently empty because of this.

unixninja92 avatar Nov 18 '16 16:11 unixninja92

Thank you for submitting the issue! We'll try to finish in the next few hours.

We're going to add an input field to the connection screen allowing you to specify the telegraf database.

goller avatar Nov 18 '16 19:11 goller

Thanks! Will it be in the quay.io docker hub?

unixninja92 avatar Nov 18 '16 20:11 unixninja92

@unixninja92 Ok, fixed!

Here is what the connection screen looks like now:

welcome

As for docker, yup, I've pushed up a new image to quay.io/influxdb/chronograf:latest

As an aside, we push up docker images to quay.io for each commit; they are tagged with the first 8 characters of the commit SHA. For example, our merge commit was 62da746 and we push up quay.io/influxdb/chronograf:62da746

Let us know how if it works out!

goller avatar Nov 18 '16 23:11 goller

You can't edit the telegraf database text field on the Welcome to Chronograf screen. It works when editing an existing influx db.

unixninja92 avatar Nov 21 '16 20:11 unixninja92

The text edit box in the welcome page is not editable

nhaugo avatar Nov 29 '16 19:11 nhaugo

@unixninja92 fixed in master!

willpiers avatar Nov 30 '16 20:11 willpiers

Host list is empty: image

I'm only able to visualise database fields: image

sarthakbansal avatar Jan 10 '17 19:01 sarthakbansal

@sarthakbansal Thanks for writing in! I'm not sure how this relates to this issue #586. If it relates, would add some more information?

If not, would you create a new issue? Also, would you open up the web console and send us some information about what is happening in the host list?

goller avatar Jan 10 '17 19:01 goller

Ah @sarthakbansal I figured it out. You need to update your telegraf configuration on windows.

Check out my telegraf PR here: https://github.com/influxdata/telegraf/commit/fbf5bee051740155c7de8518fe137c87d9fced6e#diff-a39c8cf99e09bfef0f19651e4385b131 This shows you how to add the correct fields to windows.

Basically, make sure you have Processor Queue Length in your inputs.win_perf_counters.object:

  [[inputs.win_perf_counters.object]]
    ObjectName = "System"
    Counters = [
      "Context Switches/sec",
      "System Calls/sec",
      "Processor Queue Length",
]

goller avatar Jan 10 '17 20:01 goller