-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uds-dogstats stress and typical tests added
Signed-off-by: Brian L. Troutwine <[email protected]>
- Loading branch information
Showing
6 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
test/regression/cases/uds_dogstatsd_to_api_typical/datadog-agent/datadog.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
auth_token_file_path: /tmp/agent-auth-token | ||
hostname: smp-regression | ||
|
||
dd_url: http://127.0.0.1:9091 | ||
process_config.process_dd_url: http://localhost:9092 | ||
|
||
telemetry.enabled: true | ||
telemetry.checks: '*' | ||
|
||
# Disable cloud detection. This stops the Agent from poking around the | ||
# execution environment & network. This is particularly important if the target | ||
# has network access. | ||
cloud_provider_metadata: [] | ||
|
||
dogstatsd_socket: '/tmp/dsd.socket' |
27 changes: 27 additions & 0 deletions
27
test/regression/cases/uds_dogstatsd_to_api_typical/experiment.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
optimization_goal: ingress_throughput | ||
erratic: false | ||
|
||
target: | ||
name: datadog-agent | ||
command: /bin/entrypoint.sh | ||
cpu_allotment: 8 | ||
memory_allotment: 4GiB | ||
|
||
environment: | ||
DD_API_KEY: 00000001 | ||
DD_HOSTNAME: smp-regression | ||
|
||
profiling_environment: | ||
DD_INTERNAL_PROFILING_BLOCK_PROFILE_RATE: 10000 | ||
DD_INTERNAL_PROFILING_CPU_DURATION: 1m | ||
DD_INTERNAL_PROFILING_DELTA_PROFILES: true | ||
DD_INTERNAL_PROFILING_ENABLED: true | ||
DD_INTERNAL_PROFILING_ENABLE_GOROUTINE_STACKTRACES: true | ||
DD_INTERNAL_PROFILING_MUTEX_PROFILE_FRACTION: 10 | ||
DD_INTERNAL_PROFILING_PERIOD: 1m | ||
DD_INTERNAL_PROFILING_UNIX_SOCKET: /var/run/datadog/apm.socket | ||
DD_PROFILING_EXECUTION_TRACE_ENABLED: true | ||
DD_PROFILING_EXECUTION_TRACE_PERIOD: 1m | ||
DD_PROFILING_WAIT_PROFILE: true | ||
|
||
DD_INTERNAL_PROFILING_EXTRA_TAGS: experiment:uds_dogstatsd_to_api |
52 changes: 52 additions & 0 deletions
52
test/regression/cases/uds_dogstatsd_to_api_typical/lading/lading.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
generator: | ||
- unix_datagram: | ||
seed: [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, | ||
59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131] | ||
path: "/tmp/dsd.socket" | ||
variant: | ||
dogstatsd: | ||
contexts: | ||
inclusive: | ||
min: 10 | ||
max: 100 | ||
name_length: | ||
inclusive: | ||
min: 8 | ||
max: 64 | ||
tag_length: | ||
inclusive: | ||
min: 4 | ||
max: 45 | ||
tags_per_msg: | ||
inclusive: | ||
min: 8 | ||
max: 45 | ||
multivalue_count: | ||
inclusive: | ||
min: 2 | ||
max: 32 | ||
multivalue_pack_probability: 0.08 | ||
kind_weights: | ||
metric: 90 | ||
event: 5 | ||
service_check: 5 | ||
metric_weights: | ||
count: 100 | ||
gauge: 10 | ||
timer: 0 | ||
distribution: 0 | ||
set: 0 | ||
histogram: 0 | ||
bytes_per_second: "1 MiB" | ||
maximum_prebuild_cache_size_bytes: "500 Mb" | ||
|
||
blackhole: | ||
- http: | ||
binding_addr: "127.0.0.1:9091" | ||
response_delay_millis: 75 | ||
- http: | ||
binding_addr: "127.0.0.1:9092" | ||
|
||
target_metrics: | ||
- prometheus: | ||
uri: "http://127.0.0.1:5000/telemetry" |