-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add config specs #7318
Add config specs #7318
Conversation
Codecov Report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small nit with description wording. LGTM otherwise!
options: | ||
- name: nodetool | ||
description: | | ||
command or path to nodetool (e.g. /usr/bin/nodetool or docker exec container nodetool) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
command or path to nodetool (e.g. /usr/bin/nodetool or docker exec container nodetool) | |
The command or path to nodetool (e.g. /usr/bin/nodetool or docker exec container nodetool) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs use "for example," (or if you mean "that is," say that) instead of e.g., please
# | ||
# nodetool: /usr/bin/nodetool | ||
## @param nodetool - string - required | ||
## command or path to nodetool (e.g. /usr/bin/nodetool or docker exec container nodetool) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## command or path to nodetool (e.g. /usr/bin/nodetool or docker exec container nodetool) | |
## The command or path to nodetool (e.g. /usr/bin/nodetool or docker exec container nodetool) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment about e.g.
options: | ||
- name: nodetool | ||
description: | | ||
command or path to nodetool (e.g. /usr/bin/nodetool or docker exec container nodetool) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs use "for example," (or if you mean "that is," say that) instead of e.g., please
can be overwritten on an instance | ||
Note: Agent v6.11+ on Windows runs as an unprivileged user (`ddagentuser`). That user needs to be granted | ||
access to the nodetool installation directory for the check to work. | ||
The nodetool installation also sets some environment variables (e.g. `CASSANDRA_HOME` and `DSCINSTALLDIR`), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment about e.g.
Note: Agent v6.11+ on Windows runs as an unprivileged user (`ddagentuser`). That user needs to be granted | ||
access to the nodetool installation directory for the check to work. | ||
The nodetool installation also sets some environment variables (e.g. `CASSANDRA_HOME` and `DSCINSTALLDIR`), | ||
but sets them as variables only for the user doing the nodetool installation. Those environment variables should |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean "You should also set those environment variables as system-wide variables."? That's more direct than saying they "should be set."
## Host that the Datadog Cassandra Nodetool check connects to. | ||
# | ||
# host: localhost | ||
|
||
## @param port - integer - optional | ||
## @param port - integer - optional - default: 7199 | ||
## The port JMX is listening to for connections. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## The port JMX is listening to for connections. | |
## The port JMX listens to for connections. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is code generated
cassandra_nodetool/datadog_checks/cassandra_nodetool/data/conf.yaml.example
Show resolved
Hide resolved
cassandra_nodetool/datadog_checks/cassandra_nodetool/data/conf.yaml.example
Show resolved
Hide resolved
cassandra_nodetool/datadog_checks/cassandra_nodetool/data/conf.yaml.example
Show resolved
Hide resolved
cassandra_nodetool/datadog_checks/cassandra_nodetool/data/conf.yaml.example
Show resolved
Hide resolved
Co-authored-by: Kari Halsted <12926135+kayayarai@users.noreply.github.com>
573b4e3
to
26925ba
Compare
* Add config specs Co-authored-by: Kari Halsted <12926135+kayayarai@users.noreply.github.com> 73bd64b
No description provided.