Code Monkey home page Code Monkey logo

stackdriver-agent's People

Contributors

cvle avatar

Stargazers

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

Watchers

 avatar  avatar

stackdriver-agent's Issues

Logging on CoreOS (GCE with Containers Instance Group) produces errors/warnings

Hello,

We are using managed instance groups on Google Compute Engine with containers, os is powered by coreOS so stackdriver monitoring agent can not be installed directly to the host.
This way i have discovered your docker image and have tried it.

For me it seems that it sends metrics correctly to the stackdriver, but it produces a lot of warning/error output, like this:

[2019-09-24 10:07:58] write_gcm: Server response (CollectdTimeseriesRequest) contains errors:
{
  "payloadErrors": [
    {
      "index": 4,
      "error": {
        "code": 3,
        "message": "Expected 4 labels. Found 0. Mismatched labels for payload [values {\n  data_source_name: \"read\"\n  data_source_type: DERIVE\n  value {\n    int64_value: 0\n  }\n}\nvalues {\n  data_source_name: \"write\"\n  data_source_type: DERIVE\n  value {\n    int64_value: 1458176\n  }\n}\nstart_time {\n  seconds: 1569319197\n  nanos: 586014582\n}\nend_time {\n  seconds: 1569319617\n  nanos: 572968679\n}\nplugin: \"processes\"\nplugin_instance: \"all\"\ntype: \"disk_octets\"\n] on resource [type: \"gce_instance\"\nlabels {\n  key: \"instance_id\"\n  value: \"2178816110945768016\"\n}\nlabels {\n  key: \"zone\"\n  value: \"europe-west1-c\"\n}\n] for project 796672424361"
      }
    },
    {
      "index": 145,
      "error": {
        "code": 3,
        "message": "Expected 4 labels. Found 0. Mismatched labels for payload [values {\n  data_source_n
[2019-09-24 10:07:59] write_gcm: Server response (CollectdTimeseriesRequest) contains errors:
{
  "payloadErrors": [
    {
      "index": 4,
      "error": {
        "code": 3,
        "message": "Expected 4 labels. Found 0. Mismatched labels for payload [values {\n  data_source_name: \"read\"\n  data_source_type: DERIVE\n  value {\n    int64_value: 0\n  }\n}\nvalues {\n  data_source_name: \"write\"\n  data_source_type: DERIVE\n  value {\n    int64_value: 1544192\n  }\n}\nstart_time {\n  seconds: 1569319197\n  nanos: 586014582\n}\nend_time {\n  seconds: 1569319677\n  nanos: 571233591\n}\nplugin: \"processes\"\nplugin_instance: \"all\"\ntype: \"disk_octets\"\n] on resource [type: \"gce_instance\"\nlabels {\n  key: \"instance_id\"\n  value: \"2178816110945768016\"\n}\nlabels {\n  key: \"zone\"\n  value: \"europe-west1-c\"\n}\n] for project 796672424361"
      }
    }
  ]
}

I have started the container with this command

sudo docker run -e MONITOR_HOST=true -v /proc:/mnt/proc:ro --privileged wikiwi/stackdriver-agent

Do you have any idea how to fix this?

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.