Comments (20)
The plan as you mentioned is to have plugins for different storage
backends.
AFAIK we haven't explored influxdb in detail. Are you interested in working
on adding support for it?
On Fri, Jun 13, 2014 at 11:34 AM, Jonathan Chauncey <
[email protected]> wrote:
- How do you tell cAdvisor which influxdb nodes to use?
- Should it push the data in realtime or on a timer?
Im guessing eventually this will be the basis for a plugin setup for
allowing data to be pushed to other systems like ganglia and graphite.—
Reply to this email directly or view it on GitHub
#39.
from cadvisor.
yeah I think im going to take a stab at it. Im definitely not a go expert but think I can get a working prototype on a branch for you guys to look at.
from cadvisor.
Definitely! Let us know how we can help.
from cadvisor.
Here's a basic shipper between the cadvisor and influx DB APIs: https://gist.github.com/erikh/fbfe6dadc938cf815435
I'll be working on this a bit as well. If you'd like to collaborate @jchauncey, please lmk.
from cadvisor.
+1 to plugins for different storage backends, we could put a @librato plugin together then :-)
from cadvisor.
@monnand started work to refactor the existing code to make it easier to add these drivers. So hopefully by next week you'll be able to add many different drivers for storage backends.
from cadvisor.
#58 is the last PR to add storage drivers into cAdvisor. Once we got this merged, I will work on other storage backends like influxdb and BigQuery (which is mentioned in #43)
from cadvisor.
On Jun 17, 2014, at 1:55 PM, monnand [email protected] wrote:
#58 is the last PR to add storage drivers into cAdvisor. Once we got this merged, I will work on other storage backends like influxdb and BigQuery (which is mentioned in #43)
Can I take influx? I can probably have it banged out later this week.
-Erik
from cadvisor.
@erikh that SGTM. Only question I have there is if it can be run within the same process as the rest of cAdvisor
from cadvisor.
On Jun 17, 2014, at 2:15 PM, Victor Marmol [email protected] wrote:
@erikh that SGTM. Only question I have there is if it can be run within the same process as the rest of cAdvisor
I’ll investigate this but it might not be possible. What would you suggest in lieu of that?
-Erik
from cadvisor.
I just wanted to keep us from depending on another process running, but if there is nothing we can do then we can go that route.
from cadvisor.
@erikh Thanks! You could take a look at the storage
package and implement the StorageDriver
interface. I probably will add a Close() error
method to the interface, which seems useful.
from cadvisor.
Why isnt this configurable? Its memory by default and you can set a flag to push to influx.
from cadvisor.
@jchauncey Yes. I think that would be better. The only reason I didn't make it configurable is because we only have one storage driver now. Once we add more drivers, we should let users to choose which one they want to use.
from cadvisor.
👍 to configurable. For now we only have one option :D
With @monnand's StorageDriver PRs we should be able to take any of these easily
from cadvisor.
👍 to not restricting the implementation of this to a single service.
Being able to actively push to multiple distinct backend services, concurrently, is super desirable.
from cadvisor.
@erikh Do you have a patch we can collaborate on?
from cadvisor.
Unfortunately I have not had time to do this.
If you want to take it, go for it.
-Erik
On Jul 1, 2014, at 1:40 PM, Rohit Jnagal [email protected] wrote:
@erikh Do you have a patch we can collaborate on?
—
Reply to this email directly or view it on GitHub.
from cadvisor.
Working on this issue today. But failed to use the influxdb's Go library. Posted a message on their mailing list. https://groups.google.com/forum/#!topic/influxdb/FDU6ELiICGo
from cadvisor.
The initial version of this is done with @monnand's #74. Feel free to open other issues for details that may be missing :)
from cadvisor.
Related Issues (20)
- panic with flags when built using Go 1.21.x HOT 2
- Feature Request: add support for isuald
- manager.go:694] Error getting data for container / because of race condition HOT 3
- cadvisor not exposing docker name HOT 16
- `cadvisor_version_info` exporting empty "dockerVersion" HOT 1
- Please clarify image location after Container Registry deprecation
- problem of cadvisor on amd server HOT 1
- Feature Request: Support for Redis TLS Connection
- CAdvisor with podman does not discover subcontainers
- container_fs_usage_bytes is missing some parameters label values
- No docker images available for releases ≥ v0.48.0 HOT 2
- Where is a static binary for standalone setup? HOT 4
- Querying Process-Specific Metrics from /metrics/ Endpoint
- Cryptic Load Reader error with binary.Read "invalid type" is likely due to a single error buffer type in the code HOT 1
- cadvisor not exposing container="POD" with containerd runtime
- Cadvisor is giving extra metric per pod and giving wrong memory consumption value
- cAdvisor seems incompatible with LUKS encrypted root LVM
- Getting g this error lately, also the docker container restarts buy not sure if it's related to this error
- cadvisor error getting perf_event cgroup path: could not find path for resource \perf_event\ for container HOT 2
- cAdvisor support stargz Storage Driver
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cadvisor.