Skip to content

Commit

Permalink
this doesn't work, just switching branch but don't really need this
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramadon committed Mar 26, 2024
1 parent 2316223 commit 167be29
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 141 deletions.
74 changes: 9 additions & 65 deletions test/app_signals/resources/metrics/client_producer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,67 +32,11 @@
"scopeMetrics": [
{
"metrics": [
{
"name": "Error",
"unit": "Milliseconds",
"sum": {
"dataPoints": [
{
"attributes": [
{
"key": "aws.span.kind",
"value": {
"stringValue": "CLIENT"
}
},
{
"key": "aws.local.operation",
"value": {
"stringValue": "operation"
}
},
{
"key": "aws.local.service",
"value": {
"stringValue": "service-name"
}
},
{
"key": "aws.remote.operation",
"value": {
"stringValue": "remote-operation"
}
},
{
"key": "aws.remote.service",
"value": {
"stringValue": "service-name-remote"
}
},
{
"key": "aws.remote.target",
"value": {
"stringValue": "remote-target"
}
}
],
"startTimeUnixNano": START_TIME,
"timeUnixNano": START_TIME,
"values": [0],
"counts": [1],
"max": 0,
"min": 0,
"count": 1,
"sum": 0
}
]
}
},
{
"name": "Fault",
"unit": "Milliseconds",
"sum": {
"dataPoints": [
"data_points": [
{
"attributes": [
{
Expand Down Expand Up @@ -132,14 +76,14 @@
}
}
],
"startTimeUnixNano": START_TIME,
"timeUnixNano": START_TIME,
"values": [0],
"startTimeUnixNano": 1,
"timeUnixNano": 1,
"values": [1],
"counts": [1],
"max": 0,
"min": 0,
"max": 1,
"min": 1,
"count": 1,
"sum": 0
"sum": 1
}
]
}
Expand Down Expand Up @@ -188,8 +132,8 @@
}
}
],
"startTimeUnixNano": START_TIME,
"timeUnixNano": START_TIME,
"startTimeUnixNano": 1,
"timeUnixNano": 1,
"values": [1],
"counts": [1],
"max": 1,
Expand Down
93 changes: 17 additions & 76 deletions test/app_signals/resources/metrics/server_consumer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,68 +32,6 @@
"scopeMetrics": [
{
"metrics": [
{
"name": "Error",
"unit": "Count",
"sum": {
"dataPoints": [
{
"attributes": [
{
"key": "aws.span.kind",
"value": {
"stringValue": "SERVER"
}
},
{
"key": "Operation",
"value": {
"stringValue": "operation"
}
},
{
"key": "Service",
"value": {
"stringValue": "service-name"
}
},
{
"key": "K8s.Namespace",
"value": {
"stringValue": "default"
}
},
{
"key": "K8s.Pod",
"value": {
"stringValue": "pod-name"
}
},
{
"key": "K8s.Node",
"value": {
"stringValue": "i-00000000000000000"
}
},
{
"key": "K8s.Workload",
"value": {
"stringValue": "sample-app"
}
}
],
"startTimeUnixNano": START_TIME,
"timeUnixNano": START_TIME,
"values": [0],
"counts": [1],
"max": 0,
"min": 0,
"count": 1,
"sum": 0
}
]
}
},
{
"name": "Fault",
"unit": "Count",
Expand Down Expand Up @@ -144,14 +82,14 @@
}
}
],
"startTimeUnixNano": START_TIME,
"timeUnixNano": START_TIME,
"values": [0],
"startTimeUnixNano": 1711468020777,
"timeUnixNano": 1711468020777,
"values": [1],
"counts": [1],
"max": 0,
"min": 0,
"max": 1,
"min": 1,
"count": 1,
"sum": 0
"sum": 1
}
]
}
Expand Down Expand Up @@ -206,8 +144,8 @@
}
}
],
"startTimeUnixNano": START_TIME,
"timeUnixNano": START_TIME,
"startTimeUnixNano": 1711468020777,
"timeUnixNano": 1711468020777,
"values": [1],
"counts": [1],
"max": 1,
Expand Down Expand Up @@ -268,11 +206,14 @@
}
}
],
"startTimeUnixNano": START_TIME,
"timeUnixNano": START_TIME,
"sum": 1,
"startTimeUnixNano": 1711468020777,
"timeUnixNano": 1711468020777,
"values": [1],
"counts": [1],
"max": 1,
"min": 1,
"max": 1
"count": 1,
"sum": 1
}
]
}
Expand Down Expand Up @@ -327,8 +268,8 @@
}
}
],
"startTimeUnixNano": START_TIME,
"timeUnixNano": START_TIME,
"startTimeUnixNano": 1711468020777,
"timeUnixNano": 1711468020777,
"values": [1],
"counts": [1],
"max": 1,
Expand Down

0 comments on commit 167be29

Please sign in to comment.