-
Notifications
You must be signed in to change notification settings - Fork 56
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
Kubernetes Monitoring #42
Comments
Thanks for getting in touch! Would you have five minutes for a quick call to review your setup and Please let us know what would work for your schedule. Cheers, On Fri, May 27, 2016 at 7:50 AM, K.J. Valencik notifications@github.com
|
Hi @steve-scalyr , I'm also wondering if this * naming scheme is possible on the docker agent. Thanks! |
@sbberk I ended up solving this by setting an environment variable using the downward api. |
@kjvalencik we are working on https://github.com/zalando-incubator/kubernetes-log-watcher to ship logs to Scalyr (requires Scalyr agent) --- maybe it helps (docs and more missing). |
+1 on out of the box K8S support. |
I did create this chart, if anybody is interested to try :) |
@pierreozoux I drew from some of your earlier work for a new Scalyr Helm chart. Check out #118 (comment) if you're still interested in this - always up for collaboration 😄 |
I am trying to use the docker agent to monitor containers running in Kubernetes. However, the agent assumes that when it is running in a container it will have a static name assigned to it. This is not possible if the agent is running inside the cluster. Instead, it will have a dynamic name based on a few bits of information.
Example:
It would be great if the
container_name
parameter to thedocker_monitor
module also supported some sort of pattern matching. E.g.,As a work around, I'm able to set
"container_name" : ""
, but this causes the agent to monitor itself.Another feature that would be great for monitoring K8S would be automatic parsing of container names in order to populate some meta data about the container. For example, the above name indicates that the name of the pod is
scalyr-agent
, it's running on thekube1
node in thekube-system
namespace.The text was updated successfully, but these errors were encountered: