Skip to content

Commit

Permalink
fixing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramadon committed Dec 17, 2024
1 parent 60435eb commit 3770c81
Show file tree
Hide file tree
Showing 34 changed files with 273 additions and 254 deletions.
42 changes: 21 additions & 21 deletions internal/tls/testdata/server.crt
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
-----BEGIN CERTIFICATE-----
MIIEGDCCAgCgAwIBAgIQDfInHXLoKYcZoMZe0q/N9TANBgkqhkiG9w0BAQsFADAS
MRAwDgYDVQQKEwdSb290IENBMB4XDTI0MTAyMjIyMzYzNloXDTI0MTAyMjIzMzYz
NlowFTETMBEGA1UEChMKS3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEP
ADCCAQoCggEBAP3MeHLv7sragkzD8iOj75YCJvOoys4Iy+EVwZhLAdtx+K89IOJr
6EKknoI0/FZowg5xuz4sE3sK8uQVAjtN0u4Mu6oQm94uSB5RxGvkBV6vn+3JxUdC
+fj+KiTg0x+pEoDxVXSrL3gF2ZtvfNdC05+FCk39pdEPe5tbnh+IPtcXSqWmtWEB
LiHPhSU0HN5JWsfQZ2VkB8rFStQ8CwFG0DW9i6GSVsN1zmmzLQdVPAyP4Uzy8844
/ceZsmlkIe6uk3BiRRNThUcJKlFJJroCBJ8y7AJA8s3teLWskRLik+0xintked6z
fMaQRgzOSPDc062QTODHB2IkShVZAeLh7OcCAwEAAaNnMGUwDgYDVR0PAQH/BAQD
MIIEGDCCAgCgAwIBAgIQan8djD4rQYZ7PLLwU+Wn9jANBgkqhkiG9w0BAQsFADAS
MRAwDgYDVQQKEwdSb290IENBMB4XDTI0MTIxNzE2MTY1MloXDTI0MTIxNzE3MTY1
MlowFTETMBEGA1UEChMKS3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEP
ADCCAQoCggEBANCqbEPxdZyEBgXmmC5MY+Szxz3CljawWRWhedzAt58FdSRLMqAH
fRNcG19rcvjJVdPudDg5k6cDCUAigsUXv7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j5OwReJRGH
1mrzt6pfGQeYFHMXbkFA5HU5P7Q5VF0cDCef9s1bxglSiMsEDaLOOyKvJ/w=
FoAUJ7W+0hs39tvjv+OfwHBrCNIUFtYwDwYDVR0RBAgwBocEfwAAATANBgkqhkiG
9w0BAQsFAAOCAgEAktwRxzWO9d9fPy34bK2u/Nnfl9kBriOdoQ6FoN1n8HCp7AyW
6p2eq8j9IQ1N0Qe6e1nk7OTtImR5XH19Jtw7RRxA3k3kpFT94OqBBxNGCds3BLaI
kgPD2ETe/SXHOQyWZ1dyd8y1ChxhZB5FCvqU4zwlVudyvIOx0BvnllxTvKP9pbEP
qioJD1LrgMHLdS8j5Us1UK80RVeHYP2yc6iGxP6W5wI1EaHRUFfxX9+2cmwho9yT
ZyI0D2lJJyqk4OBGTySC639HO4AMH5eK7YDyVS8n8fir32vVhQ5sY8A20gOamKoq
tn1wBQVy1GMLKiXKWaB8i6qqVTLX6NLW9ECI73ZP2Dh7CwxsL2w3YqJ/mf/2nQqx
zCjUSL7Q7hfKXi7x1PsyST4vV1r5cQaNn+jRuyZ+/uGtsg/lTrP/gnuCR9s9TfNO
O949QczYyu4GzzqLk0blWQm/J34OQUrNlEhXiJKiWViDpLGwHJNp+aupgYDxpD2w
x9p3dCTHCAQZ+q/BvxIJ8fXCcBn967T/NBrHijchUUSDnUFr3nwzlnShddToRE0e
hubO5E/SJeilEZq80NOaCrfF7H8nMSOrbXWPGqZ8qAffvJSyvZFhEYB9k3xu7yD7
MPs/B1RsxJRasFxtJ/cRbKc+l+yx6xQ3pGJjDAtphWedAmi+FwV0rn51Jcg=
-----END CERTIFICATE-----
52 changes: 26 additions & 26 deletions internal/tls/testdata/server.key
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQD9zHhy7+7K2oJM
w/Ijo++WAibzqMrOCMvhFcGYSwHbcfivPSDia+hCpJ6CNPxWa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original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
-----BEGIN CERTIFICATE-----
MIIE9jCCAt6gAwIBAgIBATANBgkqhkiG9w0BAQsFADASMRAwDgYDVQQKEwdSb290
IENBMB4XDTI0MTAyMjIyMzYzOFoXDTM0MTAyMjIyMzYzOFowEjEQMA4GA1UEChMH
Um9vdCBDQTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAJrhBEDtGS+b
WAVvkFJuQAkDbCCToy39eJ+51ZS/wA1yuVde8JvtX95dZC0STNm7GnxfIwH8tOut
gc82vz2Bim2K1N9uzBDu6flGWXpzXZSSuMAj1q8MRhEs1OpfbLuqxMs/TAbGYGqa
6FPlUWCwMZvpiRpV+hGxRIp9OsAYn/oVUvuACXnADEwBUYnGL3c9FYPn+kkjpsfH
vaH5kY8uTpKNIbmerYBCIt7X0QXcLOxk2CdnapKuIjaTML8og1/rMPbRsnGvIebh
FZsA60QnhuNiL6MowdJn17/Stl6Rs7cNV5zq3/WmaiipOoTcrKIMgA5ci23A69Pz
0WRfomoFsstRWHhimGrKrT5ewznEitvnWWxfiblmy21LTTJf6nrf7cD1B7Xlrfq+
BORuHwSxyTapXw0HKSYPwjiSiijywWInS3QR3b5uvpyFy8rGfXI2PSTpnAsK/nws
38jUO7qPsj3AnwHpgLZe0XpGFqmemSmlPif0VT3Pn6CwsCpnEf7vFNYu+rmVjrqT
sBXv7qJMryXL4MDQcTsrX0+XDVWGlKrhVemPI94go86IuqASx7BldMounk9Pra70
oRUZXsEbzBMGOyF/U3ZmCyJSryV4S+tkUckb/VInpmex1pkx15Q3EGmpRwTQ4/M/
hGz0foplN1HGRQsVxuPt58Wj7/EW6BDrAgMBAAGjVzBVMA4GA1UdDwEB/wQEAwIC
IENBMB4XDTI0MTIxNzE2MTY1NVoXDTM0MTIxNzE2MTY1NVowEjEQMA4GA1UEChMH
Um9vdCBDQTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKP7RqTP6dBG
c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Ort/WWejdmgCshRPV/aemjI0xkE
dMBEpyZy1Zf+yqODQwZxGC6EVD90ZjJq5dMS7W9jNvwvhcS7XPhiEQ0/wkEnzeDD
nNu63LIrdw5iY+g2LDV2KfUyswan/R3s1Zo=
-----END CERTIFICATE-----
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ processors:
ec2_instance_tag_keys:
- AutoScalingGroupName
ec2_metadata_tags:
- ImageId
- InstanceId
- InstanceType
- ImageId
imds_retries: 1
middleware: agenthealth/statuscode
refresh_interval_seconds: 0s
Expand Down Expand Up @@ -89,11 +89,11 @@ service:
- awsentity/resource
- ec2tagger
receivers:
- telegraf_netstat
- telegraf_swap
- telegraf_cpu
- telegraf_disk
- telegraf_mem
- telegraf_netstat
metrics/hostDeltaMetrics:
exporters:
- awscloudwatch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ service:
- awsentity/resource
- ec2tagger
receivers:
- telegraf_ethtool
- telegraf_nvidia_smi
- telegraf_cpu
- telegraf_disk
- telegraf_mem
- telegraf_netstat
- telegraf_swap
- telegraf_ethtool
metrics/hostDeltaMetrics:
exporters:
- awscloudwatch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ processors:
ec2_instance_tag_keys:
- AutoScalingGroupName
ec2_metadata_tags:
- InstanceType
- ImageId
- InstanceId
- InstanceType
imds_retries: 1
middleware: agenthealth/statuscode
refresh_interval_seconds: 0s
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -999,6 +999,7 @@ processors:
faas.version:
enabled: true
max_idle_conns: 100
middleware: agenthealth/statuscode
openshift:
address: ""
resource_attributes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1128,6 +1128,7 @@ processors:
faas.version:
enabled: true
max_idle_conns: 100
middleware: agenthealth/statuscode
openshift:
address: ""
resource_attributes:
Expand Down Expand Up @@ -1215,6 +1216,7 @@ receivers:
leader_lock_using_config_map_only: true
local_mode: false
max_retries: 0
middleware: agenthealth/statuscode
no_verify_ssl: false
num_workers: 0
prefer_full_pod_name: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1129,6 +1129,7 @@ processors:
faas.version:
enabled: true
max_idle_conns: 100
middleware: agenthealth/statuscode
openshift:
address: ""
resource_attributes:
Expand Down Expand Up @@ -1216,6 +1217,7 @@ receivers:
leader_lock_using_config_map_only: true
local_mode: false
max_retries: 0
middleware: agenthealth/statuscode
no_verify_ssl: false
num_workers: 0
prefer_full_pod_name: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1128,6 +1128,7 @@ processors:
faas.version:
enabled: true
max_idle_conns: 100
middleware: agenthealth/statuscode
openshift:
address: ""
resource_attributes:
Expand Down Expand Up @@ -1215,6 +1216,7 @@ receivers:
leader_lock_using_config_map_only: true
local_mode: false
max_retries: 0
middleware: agenthealth/statuscode
no_verify_ssl: false
num_workers: 0
prefer_full_pod_name: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1128,6 +1128,7 @@ processors:
faas.version:
enabled: true
max_idle_conns: 100
middleware: agenthealth/statuscode
openshift:
address: ""
resource_attributes:
Expand Down Expand Up @@ -1215,6 +1216,7 @@ receivers:
leader_lock_using_config_map_only: true
local_mode: false
max_retries: 0
middleware: agenthealth/statuscode
no_verify_ssl: false
num_workers: 0
prefer_full_pod_name: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1009,6 +1009,7 @@ processors:
faas.version:
enabled: true
max_idle_conns: 100
middleware: agenthealth/statuscode
openshift:
address: ""
resource_attributes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1005,6 +1005,7 @@ processors:
faas.version:
enabled: true
max_idle_conns: 100
middleware: agenthealth/statuscode
openshift:
address: ""
resource_attributes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ receivers:
leader_lock_using_config_map_only: true
local_mode: false
max_retries: 0
middleware: agenthealth/statuscode
no_verify_ssl: false
num_workers: 0
prefer_full_pod_name: true
Expand Down
2 changes: 1 addition & 1 deletion translator/tocwconfig/sampleConfig/basic_config_linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ service:
- awsentity/resource
- ec2tagger
receivers:
- telegraf_disk
- telegraf_mem
- telegraf_disk
telemetry:
logs:
development: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ processors:
ec2_instance_tag_keys:
- AutoScalingGroupName
ec2_metadata_tags:
- InstanceType
- ImageId
- InstanceId
- InstanceType
imds_retries: 1
middleware: agenthealth/statuscode
refresh_interval_seconds: 0s
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ processors:
ec2_instance_tag_keys:
- AutoScalingGroupName
ec2_metadata_tags:
- ImageId
- InstanceId
- InstanceType
- ImageId
imds_retries: 1
middleware: agenthealth/statuscode
refresh_interval_seconds: 0s
Expand Down
16 changes: 8 additions & 8 deletions translator/tocwconfig/sampleConfig/complete_darwin_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ processors:
ec2_instance_tag_keys:
- AutoScalingGroupName
ec2_metadata_tags:
- ImageId
- InstanceId
- InstanceType
- ImageId
imds_retries: 1
middleware: agenthealth/statuscode
refresh_interval_seconds: 0s
Expand All @@ -146,11 +146,11 @@ processors:
metric_statements:
- context: metric
statements:
- set(unit, "unit") where name == "disk_free"
- set(name, "DISK_FREE") where name == "disk_free"
- set(unit, "unit") where name == "cpu_usage_idle"
- set(name, "CPU_USAGE_IDLE") where name == "cpu_usage_idle"
- set(unit, "unit") where name == "cpu_usage_nice"
- set(unit, "unit") where name == "disk_free"
- set(name, "DISK_FREE") where name == "disk_free"
trace_statements: []
receivers:
awsxray:
Expand Down Expand Up @@ -284,13 +284,13 @@ service:
- ec2tagger
- transform
receivers:
- telegraf_swap
- telegraf_netstat
- telegraf_disk
- telegraf_swap
- telegraf_mem
- telegraf_cpu
- telegraf_processes
- telegraf_netstat
- telegraf_procstat/1917393364
- telegraf_cpu
metrics/hostCustomMetrics:
exporters:
- awscloudwatch
Expand All @@ -299,8 +299,8 @@ service:
- ec2tagger
- transform
receivers:
- telegraf_statsd
- telegraf_socket_listener
- telegraf_statsd
metrics/hostDeltaMetrics:
exporters:
- awscloudwatch
Expand All @@ -310,8 +310,8 @@ service:
- ec2tagger
- transform
receivers:
- telegraf_net
- telegraf_diskio
- telegraf_net
traces/xray:
exporters:
- awsxray
Expand Down
Loading

0 comments on commit 3770c81

Please sign in to comment.