Giter VIP home page Giter VIP logo

gollectd's People

Contributors

dgnorton avatar kimor79 avatar otoolep avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

gollectd's Issues

Is multiple values / datasources confirmed working?

Hi,

First: Awesome work getting a native entry-point for CollectD!

I'm trying to connect my collectd setup to my InfluxDB test environment, and things seems to be working somewhat. The odd thing is that I'm seeing triple inserts for the same value/dsname:
1415750557 263910001 longterm gauge 0.05 REDACTED load load
1415750557 263900001 longterm gauge 0.05 REDACTED load load
1415750557 263890001 longterm gauge 0.05 REDACTED load load
1415750547 262140001 longterm gauge 0.05 REDACTED load load
1415750547 262130001 longterm gauge 0.05 REDACTED load load
1415750547 262120001 longterm gauge 0.05 REDACTED load load
1415750537 260370001 longterm gauge 0.05 REDACTED load load
1415750537 260360001 longterm gauge 0.05 REDACTED load load

I couldn't see that you're actually testing the output of Values in gollectd_test, so this might be something that slipped through. Anyway, let me know if you need more info and I'll be happy to provide you with it.

will skip line that is only whitespace chars

--- a/gollectd.go
+++ b/gollectd.go
@@ -282,6 +282,7 @@ func TypesDB(b []byte) (Types, error) {
        lines := strings.Split(content, "\n")

        for i, line := range lines {
+               line = strings.TrimSpace(line)
                // Skip empty & comment lines
                if line == "" || line[0] == '#' {
                        continue

please tag and version this project

Hello,

Can you please tag and version this project?

I am the Debian Maintainer for gollectd and versioning would help Debian keep up with development.

Metric separator configuration

It might not be a real issue for some people, but using it with InfluxDB creates series like host/cpu-0/cpu-idle.
The '/' separator is a bit annoying here, considering that a lot of graphing software (like Grafana) are using the "Graphite standard" which is the dot.

I know that configuration can happen in another place, but do you think we could make it configurable so that the '/' could be change to another character (or string)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.