Skip to content

Commit

Permalink
Update go instrumentation version (#168)
Browse files Browse the repository at this point in the history
This PR updates Go automatic instrumentation to latest version (v0.6,5)
  • Loading branch information
edeNFed authored May 8, 2023
1 parent 0538c17 commit 1bc1e0b
Show file tree
Hide file tree
Showing 4 changed files with 184 additions and 172 deletions.
2 changes: 1 addition & 1 deletion instrumentor/patch/golang.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
const (
golangKernelDebugVolumeName = "kernel-debug"
golangKernelDebugHostPath = "/sys/kernel/debug"
golangAgentName = "keyval/otel-go-agent:v0.6.4"
golangAgentName = "keyval/otel-go-agent:v0.6.5"
golangExporterEndpoint = "OTEL_EXPORTER_OTLP_ENDPOINT"
golangServiceNameEnv = "OTEL_SERVICE_NAME"
golangTargetExeEnv = "OTEL_TARGET_EXE"
Expand Down
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dependencies": {
"@headlessui/react": "^1.7.14",
"@kubernetes/client-node": "^0.18.1",
"@svgr/webpack": "^7.0.0",
"@svgr/webpack": "^6.2.1",
"@tailwindcss/forms": "^0.5.3",
"next": "latest",
"react": "18.2.0",
Expand Down
8 changes: 0 additions & 8 deletions ui/pages/dest/new/[destname].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@ const NewDestination: NextPage<NewDestinationProps> = ({ destname }) => {
checkregex === false ? setUrlValidateError("Your URL must contain the port number 4317") : setUrlValidateError('');
}

// checking for datadog url pattern match
if(object.site) {
const regex = /^https?:\/\/(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_\+.~#?&\/=]*)$/;

const checkregex = regex.test(object.site);
checkregex === false ? setUrlValidateError("URL entered is not a valid URL") : setUrlValidateError('');
}


if(urlValidateError === '') {
const response = await fetch("/api/dests", {
Expand Down
Loading

0 comments on commit 1bc1e0b

Please sign in to comment.