-
Notifications
You must be signed in to change notification settings - Fork 32
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
chore(grafana): Update dashboards for new telegraf #156
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
will fix #153 |
I'm testing this as described above but running into a telegraf error: $ kd logs -f deis-monitor-telegraf-kxpcn
Node Name set (minikube)
Node IP set (192.168.99.100)
Creating topic with URL: http://10.0.0.36:4151/topic/create?topic=metrics
Setting KUBERNETES_URL: http://192.168.99.100:10255
Building config.toml!
Finished building toml...
###########################################
...
# Set Service Input Configuration
[[inputs.nsq_consumer]]
server = "10.0.0.36:4150"
topic = "metrics"
channel = "consumer"
max_in_flight = 100
data_format = "influx"
###########################################
###########################################
/usr/bin/telegraf: line 1: syntax error near unexpected token `<'
/usr/bin/telegraf: line 1: `<?xml version='1.0' encoding='UTF-8'?><Error><Code>AccessDenied</Code><Message>Access denied.</Message><Details>Anonymous users does not have storage.objects.get access to object telegraf/telegraf.</Details></Error>' |
It appears root@7f3ec01de15b:/# which telegraf
/usr/bin/telegraf
root@7f3ec01de15b:/# cat /usr/bin/telegraf
<?xml version='1.0' encoding='UTF-8'?><Error><Code>AccessDenied</Code><Message>Access denied.</Message><Details>Anonymous users does not have storage.objects.get access to object telegraf/telegraf.</Details></Error>
root@7f3ec01de15b:/# |
The calls in the telegraf Dockerfile should be using
|
jchauncey
force-pushed
the
update-dashboards
branch
from
October 25, 2016 19:08
e3bfe9d
to
13c9dc6
Compare
Tested as recommended, all dashboards show updating CPU/memory stats and open connections look stable: $ netstat -tan | grep 10255
tcp 0 0 :::10255 :::* LISTEN
tcp 0 0 ::ffff:192.168.99.100:10255 ::ffff:172.17.0.9:55846 ESTABLISHED |
Tags for data collected by the kubernetes changed after the plguin was merged. So we needed to update the dashboards. This PR also removes the kubernetes_health dashboard since we no longer capture those metrics with the new kubernetes telegraf plugin.
jchauncey
force-pushed
the
update-dashboards
branch
from
October 25, 2016 19:26
13c9dc6
to
e008741
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tags for data collected by the kubernetes changed after the plguin was merged. So we needed to update the dashboards.
Test Steps:
cd telegraf && make build push upgrade
cd ../grafana && make build push upgrade
http://grafana.mydomain.com
login usingadmin/admin
It is also useful to verify that we are not leaking connections with this PR as it will contain the new telegraf binary that contains the fix.
To check for that please ssh onto one of your worker nodes that is running the telegraf daemonset and run the following command
netstat -tan | grep 10255
you should only see 1 or 2 connections open and it should never grow.