Skip to content

Commit

Permalink
fix: flatten ValueTypeSlice to ValueTypeString (#831)
Browse files Browse the repository at this point in the history
* fix: flatten ValueTypeSlice to ValueTypeString

* fix: use json marshalling for non-primitive values

* fix: validate returned errors in tests

Co-authored-by: David Ashpole <dashpole@google.com>
Signed-off-by: Keaton Cross <keatoncross6@gmail.com>

* fix: regenerate test fixtures

---------

Signed-off-by: Keaton Cross <keatoncross6@gmail.com>
Co-authored-by: David Ashpole <dashpole@google.com>
  • Loading branch information
crossk3 and dashpole authored Apr 23, 2024
1 parent aca1cfd commit fd38e34
Show file tree
Hide file tree
Showing 4 changed files with 212 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@
"value": "semver:0.33.0"
}
},
"process.command_args": {
"stringValue": {
"value": "[\"./main\"]"
}
},
"process.executable.name": {
"stringValue": {
"value": "main"
Expand Down Expand Up @@ -298,6 +303,11 @@
"value": "semver:0.33.0"
}
},
"process.command_args": {
"stringValue": {
"value": "[\"./main\"]"
}
},
"process.executable.name": {
"stringValue": {
"value": "main"
Expand Down Expand Up @@ -477,6 +487,11 @@
"value": "semver:0.33.0"
}
},
"process.command_args": {
"stringValue": {
"value": "[\"./main\"]"
}
},
"process.executable.name": {
"stringValue": {
"value": "main"
Expand Down Expand Up @@ -656,6 +671,11 @@
"value": "semver:0.33.0"
}
},
"process.command_args": {
"stringValue": {
"value": "[\"./main\"]"
}
},
"process.executable.name": {
"stringValue": {
"value": "main"
Expand Down Expand Up @@ -786,6 +806,11 @@
"value": "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
}
},
"process.command_args": {
"stringValue": {
"value": "[\"./main\"]"
}
},
"process.executable.name": {
"stringValue": {
"value": "main"
Expand Down Expand Up @@ -911,6 +936,11 @@
"value": "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
}
},
"process.command_args": {
"stringValue": {
"value": "[\"./main\"]"
}
},
"process.executable.name": {
"stringValue": {
"value": "main"
Expand Down Expand Up @@ -1036,6 +1066,11 @@
"value": "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
}
},
"process.command_args": {
"stringValue": {
"value": "[\"./main\"]"
}
},
"process.executable.name": {
"stringValue": {
"value": "main"
Expand Down Expand Up @@ -1161,6 +1196,11 @@
"value": "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
}
},
"process.command_args": {
"stringValue": {
"value": "[\"./main\"]"
}
},
"process.executable.name": {
"stringValue": {
"value": "main"
Expand Down Expand Up @@ -1257,6 +1297,11 @@
"value": "demo-client-tracer"
}
},
"process.command_args": {
"stringValue": {
"value": "[\"./main\"]"
}
},
"process.executable.name": {
"stringValue": {
"value": "main"
Expand Down Expand Up @@ -1353,6 +1398,11 @@
"value": "demo-client-tracer"
}
},
"process.command_args": {
"stringValue": {
"value": "[\"./main\"]"
}
},
"process.executable.name": {
"stringValue": {
"value": "main"
Expand Down Expand Up @@ -1449,6 +1499,11 @@
"value": "demo-client-tracer"
}
},
"process.command_args": {
"stringValue": {
"value": "[\"./main\"]"
}
},
"process.executable.name": {
"stringValue": {
"value": "main"
Expand Down Expand Up @@ -1545,6 +1600,11 @@
"value": "demo-client-tracer"
}
},
"process.command_args": {
"stringValue": {
"value": "[\"./main\"]"
}
},
"process.executable.name": {
"stringValue": {
"value": "main"
Expand Down Expand Up @@ -1719,6 +1779,11 @@
"value": "semver:0.33.0"
}
},
"process.command_args": {
"stringValue": {
"value": "[\"./main\"]"
}
},
"process.executable.name": {
"stringValue": {
"value": "main"
Expand Down Expand Up @@ -1898,6 +1963,11 @@
"value": "semver:0.33.0"
}
},
"process.command_args": {
"stringValue": {
"value": "[\"./main\"]"
}
},
"process.executable.name": {
"stringValue": {
"value": "main"
Expand Down Expand Up @@ -2077,6 +2147,11 @@
"value": "semver:0.33.0"
}
},
"process.command_args": {
"stringValue": {
"value": "[\"./main\"]"
}
},
"process.executable.name": {
"stringValue": {
"value": "main"
Expand Down Expand Up @@ -2212,6 +2287,11 @@
"value": "semver:0.33.0"
}
},
"process.command_args": {
"stringValue": {
"value": "[\"./main\"]"
}
},
"process.executable.name": {
"stringValue": {
"value": "main"
Expand Down Expand Up @@ -2342,6 +2422,11 @@
"value": "semver:0.33.0"
}
},
"process.command_args": {
"stringValue": {
"value": "[\"./main\"]"
}
},
"process.executable.name": {
"stringValue": {
"value": "main"
Expand Down Expand Up @@ -2472,6 +2557,11 @@
"value": "semver:0.33.0"
}
},
"process.command_args": {
"stringValue": {
"value": "[\"./main\"]"
}
},
"process.executable.name": {
"stringValue": {
"value": "main"
Expand Down Expand Up @@ -2602,6 +2692,11 @@
"value": "semver:0.33.0"
}
},
"process.command_args": {
"stringValue": {
"value": "[\"./main\"]"
}
},
"process.executable.name": {
"stringValue": {
"value": "main"
Expand Down Expand Up @@ -2698,6 +2793,11 @@
"value": "demo-client-tracer"
}
},
"process.command_args": {
"stringValue": {
"value": "[\"./main\"]"
}
},
"process.executable.name": {
"stringValue": {
"value": "main"
Expand Down
Loading

0 comments on commit fd38e34

Please sign in to comment.