Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ddev/changelog.d/21124.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bump Datadog Checks Dev requirement in DDEV
2 changes: 1 addition & 1 deletion ddev/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies = [
"click~=8.1.6",
"coverage",
"datadog-api-client==2.20.0",
"datadog-checks-dev[cli]~=35.1",
"datadog-checks-dev[cli]~=35.2",
"hatch>=1.8.1",
"httpx",
"jsonpointer",
Expand Down
10 changes: 10 additions & 0 deletions rabbitmq/assets/configuration/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,16 @@ files:
value:
type: string
example: http://localhost:15672/api/
- name: rabbitmq_user
description: The username to use for the RabbitMQ Management Plugin
value:
type: string
example: guest
- name: rabbitmq_pass
description: The password to use for the RabbitMQ Management Plugin
value:
type: string
example: guest
- name: tag_families
description: To tag queue "families" based off of regex matching.
value:
Expand Down
1 change: 1 addition & 0 deletions rabbitmq/changelog.d/21120.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add rabbitmq_user and rabbitmq_pass to rabbitmq conf.yaml.example
8 changes: 8 additions & 0 deletions rabbitmq/datadog_checks/rabbitmq/config_models/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@ def instance_rabbitmq_api_url():
return 'http://localhost:15672/api/'


def instance_rabbitmq_pass():
return 'guest'


def instance_rabbitmq_user():
return 'guest'


def instance_request_size():
return 16

Expand Down
2 changes: 2 additions & 0 deletions rabbitmq/datadog_checks/rabbitmq/config_models/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ class InstanceConfig(BaseModel):
queues: Optional[tuple[str, ...]] = None
queues_regexes: Optional[tuple[str, ...]] = None
rabbitmq_api_url: Optional[str] = None
rabbitmq_pass: Optional[str] = None
rabbitmq_user: Optional[str] = None
raw_line_filters: Optional[tuple[str, ...]] = None
raw_metric_prefix: Optional[str] = None
read_timeout: Optional[float] = None
Expand Down
10 changes: 10 additions & 0 deletions rabbitmq/datadog_checks/rabbitmq/data/conf.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,16 @@ instances:
#
# rabbitmq_api_url: http://localhost:15672/api/

## @param rabbitmq_user - string - optional - default: guest
## The username to use for the RabbitMQ Management Plugin
#
# rabbitmq_user: guest

## @param rabbitmq_pass - string - optional - default: guest
## The password to use for the RabbitMQ Management Plugin
#
# rabbitmq_pass: guest

## @param tag_families - boolean - optional - default: false
## To tag queue "families" based off of regex matching.
#
Expand Down
Loading