Comments (7)
To build the agent, simply edit config.py to bump up the version and git push. Jenkins will take care of the rest (building and deploying to staging).
tests/test_cassandra contains some basic tests (in particular for cfstats).
from dd-agent.
Is this error related? Saw it in syslog:
float() argument must be a string or a number
Traceback (most recent call last):
File "/usr/share/datadog/agent/checks/cassandra.py", line 296, in check
self._parseInfo(pipe.read(), results)
File "/usr/share/datadog/agent/checks/cassandra.py", line 76, in _parseInfo
results["token"] = float(Cassandra._find(lines, r"^Token[^:]+: ([0-9]+)$"))
TypeError: float() argument must be a string or a number
from dd-agent.
What to do:
- move cassandra to the new checks.d interface
- tag cfstats by "keyspace" and "cf", rather than creating a device, prefix metrics with "cassandra" to match the old metrics name without going through the flatten_cassandra bit in the agent-driver.
from dd-agent.
Time to move to jmx to get these stats. nodetool's format is just too brittle.
from dd-agent.
I've done some research on alternate ways to get jmx data from python. None are fundamentally more appealing than jmxterm (from calling java objects in python via some elaborate but very alpha method to running extra servlet to convert jmx into json), save implementing JRMP natively in python.
So jmxterm it is. What would be interesting is profiling the python code that traverses all the mbeans of a cassandra node (e.g. running 1.1.6).
from dd-agent.
I'm afraid it can really takes a while to go through all mbeans, I'll write a small script that does that and profile it to be sure.
from dd-agent.
Ok, go ahead and time it. Else we can extend jmxterm to dump all the attributes in 1 command.
from dd-agent.
Related Issues (20)
- [{"message": "Could not find the TLS certificate file, invalid path HOT 3
- Datadog not honoring DD_COLLECT_EC2_TAGS when ec2 integration is turned on
- Unable to run check 'container' HOT 6
- [systemd] opening of /run/systemd/private causes errors in system journal
- ImportError: No module named checks HOT 3
- DataDog intermittent failure when install using PowerShell script HOT 1
- Permission denied: '/sys/kernel/debug/tracing' HOT 2
- dd-agent NOt sending logs after file roatations HOT 3
- Proxy Certificate Expired HOT 2
- Cleanup: remove `set_win32_cert_path()` unused function.
- doesn't work with image tomcat:9 HOT 3
- sampleRate from dd-trace-js is not taken into account in statistics HOT 1
- use_mount not working on Windows with volumes mapped to drive path HOT 1
- High CPU use by datadog agent (CentOS) HOT 1
- Docker: Datadog agent stops sending default JMX metrics after adding bean HOT 2
- Datadog agent installation issue HOT 2
- synthetic monitoring for endpoint HOT 2
- Unbound: unable to import module 'unbound': No module named 'unbound'
- Is it possible to run dd-agent inside same docker container as my application? HOT 2
- Issue with setup_agent.sh file
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 dd-agent.