Giter Site home page Giter Site logo

redis issue about newrelic-plugin-agent HOT 9 CLOSED

meetme avatar meetme commented on June 27, 2024
redis issue

from newrelic-plugin-agent.

Comments (9)

gmr avatar gmr commented on June 27, 2024

Can you update your paste of your config indenting by four (read the Github flavored markdown link) so that it is pre-formatted so I can check for indentation issues.

from newrelic-plugin-agent.

alienzrcoming avatar alienzrcoming commented on June 27, 2024

got it, thanks again

from newrelic-plugin-agent.

gmr avatar gmr commented on June 27, 2024

Ok, I'd remove the password config value if it's empty.

from newrelic-plugin-agent.

alienzrcoming avatar alienzrcoming commented on June 27, 2024

the same issue happens without the password entry. i was testing several different things in order to try to get it working and accidentally included it in my paste. do i need to open a brand new issue now that this has been closed?

from newrelic-plugin-agent.

gmr avatar gmr commented on June 27, 2024

Sorry misunderstood your previous comment. Your problem is a formatting issue in your config file. I've just pushed 1.0.12 to pypi and published on NewRelic which has a new feature to show you parse issues. Can you install it and paste the output if you try and run it interactively?

from newrelic-plugin-agent.

alienzrcoming avatar alienzrcoming commented on June 27, 2024

yep, thanks

from newrelic-plugin-agent.

alienzrcoming avatar alienzrcoming commented on June 27, 2024

that helped.. i'm still not sure what was up w/the config, but i took another copy of the test.yml and edited that way. the new version does give good info about formatting. thanks again.

from newrelic-plugin-agent.

alienzrcoming avatar alienzrcoming commented on June 27, 2024

gah, i just spotted the issue w/my original borked config. the "name" line is missing a preceding dash. eg:

  redis:
    name: host1
    host: localhost
    port: 6379
    db_count: 16

as opposed to:

  redis:
    - name: host1
      host: localhost
      port: 6379
      db_count: 16

from newrelic-plugin-agent.

gmr avatar gmr commented on June 27, 2024

Yeah, sorry about the confusion there. The preceding dash will be the format for everything and designates a list or array item in the config. It's like this to support multiple redis servers on the same server/agent.

from newrelic-plugin-agent.

Related Issues (20)

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.