Skip to content

Commit

Permalink
fixing error, fault, and latency structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramadon committed Mar 20, 2024
1 parent 37a8523 commit 2a1392b
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 416 deletions.
167 changes: 22 additions & 145 deletions test/app_signals/resources/metrics/client_producer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,165 +35,42 @@
{
"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,
"sum": 0,
"min": 0,
"max": 0
}
]
"Error": {
"Values": [0],
"Counts": [1],
"Max": 0,
"Min": 0,
"Count": 1,
"Sum": 0
}
},
{
"name": "Fault",
"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,
"sum": 0,
"min": 0,
"max": 0
}
]
"Fault": {
"Values": [0],
"Counts": [1],
"Max": 0,
"Min": 0,
"Count": 1,
"Sum": 0
}
},
{
"name": "Latency",
"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,
"sum": 1,
"min": 1,
"max": 1
}
]
"Latency": {
"Values": [1],
"Counts": [1],
"Max": 1,
"Min": 1,
"Count": 1,
"Sum": 1
}
}
]
}
]
}
]
}
}
Loading

0 comments on commit 2a1392b

Please sign in to comment.