Skip to content

Commit

Permalink
Use sdk/telemetry instead of pdata for the autosdk probe (#1195)
Browse files Browse the repository at this point in the history
* Update sdk pkg to use telemetry instead of pdata

* Use sdk pkg in auto/sdk probe

* Fix Dockerfile

Copy sdk pkg prior to build

* Update licenses

* Update max span size in probe

* Fix SpanLink unmarshal of flags

* End span before sleeping

* Add String method to TraceID and SpanID
  • Loading branch information
MrAlias authored Oct 20, 2024
1 parent 83f7338 commit 717ea4f
Show file tree
Hide file tree
Showing 26 changed files with 426 additions and 835 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
FROM golang:1.23.2-bullseye AS base

RUN apt-get update && apt-get install -y curl clang gcc llvm make libbpf-dev

WORKDIR /app

RUN apt-get update && apt-get install -y curl clang gcc llvm make libbpf-dev
COPY sdk/ /app/sdk/

# pre-copy/cache go.mod for pre-downloading dependencies and only redownloading
# them in subsequent builds if they change
Expand Down
35 changes: 0 additions & 35 deletions LICENSES/github.com/gogo/protobuf/LICENSE

This file was deleted.

21 changes: 0 additions & 21 deletions LICENSES/github.com/json-iterator/go/LICENSE

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,3 @@ Go support for Protocol Buffers - Google's data interchange format
http://github.com/golang/protobuf/
Copyright 2010 The Go Authors
See source code for license details.

Support for streaming Protocol Buffer messages for the Go language (golang).
https://github.com/matttproud/golang_protobuf_extensions
Copyright 2013 Matt T. Proud
Licensed under the Apache License, Version 2.0
202 changes: 0 additions & 202 deletions LICENSES/go.opentelemetry.io/collector/pdata/LICENSE

This file was deleted.

19 changes: 0 additions & 19 deletions LICENSES/go.uber.org/multierr/LICENSE.txt

This file was deleted.

4 changes: 2 additions & 2 deletions LICENSES/golang.org/x/arch/x86/x86asm/LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2015 The Go Authors. All rights reserved.
Copyright 2015 The Go Authors.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
Expand All @@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer.
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
* Neither the name of Google LLC nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

Expand Down
4 changes: 2 additions & 2 deletions LICENSES/golang.org/x/net/LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2009 The Go Authors. All rights reserved.
Copyright 2009 The Go Authors.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
Expand All @@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer.
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
* Neither the name of Google LLC nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

Expand Down
4 changes: 2 additions & 2 deletions LICENSES/golang.org/x/sys/unix/LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2009 The Go Authors. All rights reserved.
Copyright 2009 The Go Authors.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
Expand All @@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer.
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
* Neither the name of Google LLC nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

Expand Down
4 changes: 2 additions & 2 deletions LICENSES/golang.org/x/text/LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2009 The Go Authors. All rights reserved.
Copyright 2009 The Go Authors.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
Expand All @@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer.
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
* Neither the name of Google LLC nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

Expand Down
Loading

0 comments on commit 717ea4f

Please sign in to comment.