Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opamp servicename refactor #1937

Merged
merged 239 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
239 commits
Select commit Hold shift + click to select a range
95b7e2a
WIP
alonkeyval Jul 30, 2023
91375ca
Merge branch 'main' of github.com:alonkeyval/odigos into TASK-149-ove…
alonkeyval Jul 30, 2023
3f0700a
WIP
alonkeyval Jul 30, 2023
9e4a5ac
source manage card
alonkeyval Jul 30, 2023
e03bf92
Merge pull request #344 from alonkeyval/TASK-149-overview-container
alonkeyval Jul 30, 2023
0c4b42e
fixed pr comments
alonkeyval Jul 30, 2023
d5fe630
fixed pr comments
alonkeyval Jul 30, 2023
fbaa04c
Merge branch 'main' of github.com:alonkeyval/odigos into TASK-142-dis…
alonkeyval Jul 30, 2023
5504348
sources list display
alonkeyval Jul 30, 2023
ae80c0a
change image url to cloud front
alonkeyval Jul 30, 2023
79f2c53
fixed pr comments
alonkeyval Jul 30, 2023
8267a10
Merge pull request #346 from alonkeyval/TASK-107-overview-sources-card
alonkeyval Jul 30, 2023
5fffc40
add new action menu
alonkeyval Jul 30, 2023
18cd5c4
on add btn click
alonkeyval Jul 30, 2023
3ac58d1
Merge pull request #347 from alonkeyval/TASK-142-display-source-manag…
alonkeyval Jul 30, 2023
ab642bd
WIP
alonkeyval Jul 30, 2023
b6287db
Merge pull request #348 from alonkeyval/TASK-143-add-new-source-btn
alonkeyval Jul 31, 2023
64c31c4
restructe source filter option
alonkeyval Jul 31, 2023
4192289
filters
alonkeyval Jul 31, 2023
1006d44
WIP
alonkeyval Jul 31, 2023
537aa75
new back button
alonkeyval Jul 31, 2023
ab32b46
WIP
alonkeyval Jul 31, 2023
d1c9029
Merge pull request #359 from alonkeyval/TASK-145-handle-new-sources-c…
alonkeyval Jul 31, 2023
042cb10
Merge branch 'main' of github.com:alonkeyval/odigos into overview-sou…
alonkeyval Jul 31, 2023
0d97d64
filter instromented apps
alonkeyval Jul 31, 2023
f38568b
WIP
alonkeyval Jul 31, 2023
d57d024
WIP
alonkeyval Jul 31, 2023
6b1a812
WIP
alonkeyval Jul 31, 2023
d6e9f6f
WIP
alonkeyval Jul 31, 2023
7c655a0
WIP
alonkeyval Jul 31, 2023
fbe5504
WIP
alonkeyval Aug 1, 2023
8a93e8a
fixed pr comments
alonkeyval Aug 1, 2023
d9958c8
fixed pr comments
alonkeyval Aug 1, 2023
89dc8ae
Task 158 back button (#360)
alonkeyval Aug 1, 2023
5d5bf9b
fixed pr comments
alonkeyval Aug 1, 2023
a682311
Merge remote-tracking branch 'upstream/main' into TASK-141-sources-ov…
alonkeyval Aug 1, 2023
15ba9c3
Merge remote-tracking branch 'upstream/TASK-141-sources-overview' int…
alonkeyval Aug 1, 2023
a131614
fixed pr comments
alonkeyval Aug 1, 2023
180fd5d
hide checkboxs
alonkeyval Aug 1, 2023
d4d5211
WIP
alonkeyval Aug 1, 2023
97e1983
Merge branch 'main' of github.com:alonkeyval/odigos into TASK-161-zer…
alonkeyval Aug 1, 2023
61fc2fc
WIP
alonkeyval Aug 1, 2023
49f6983
fixed pr comments
alonkeyval Aug 1, 2023
b1f12e7
remove scrollbars
alonkeyval Aug 1, 2023
f81d618
WIP
alonkeyval Aug 1, 2023
5e68cdd
added quick help
alonkeyval Aug 2, 2023
32bec3d
WIP
alonkeyval Aug 2, 2023
e368ede
Merge remote-tracking branch 'upstream/main' into TASK-141-sources-ov…
alonkeyval Aug 2, 2023
4d7b99d
Merge remote-tracking branch 'upstream/TASK-141-sources-overview' int…
alonkeyval Aug 2, 2023
f91d357
create destinaion flow match url
alonkeyval Aug 2, 2023
f0e6d64
new dest flow
alonkeyval Aug 2, 2023
0a30a23
manage dest flow
alonkeyval Aug 2, 2023
71e52b7
fixed pr comments
alonkeyval Aug 2, 2023
55cae09
Overview sources (#364)
alonkeyval Aug 2, 2023
60a61ee
WIP
alonkeyval Aug 2, 2023
c44837e
WIP
alonkeyval Aug 2, 2023
6253cbc
Merge branch 'main' into TASK-141-sources-overview
alonkeyval Aug 2, 2023
59029f1
Merge branch 'TASK-141-sources-overview' into TASK-156-match-url-to-a…
alonkeyval Aug 2, 2023
924cee2
fixed pr comments
alonkeyval Aug 2, 2023
004ca63
restruce file system
alonkeyval Aug 2, 2023
cf77635
wip
alonkeyval Aug 2, 2023
4616dcf
add pen icon and danger zone
alonkeyval Aug 2, 2023
5d85d7c
manage delete source
alonkeyval Aug 3, 2023
b655e18
WIP
alonkeyval Aug 3, 2023
592be7e
WIP
alonkeyval Aug 3, 2023
ef93cc6
WIP
alonkeyval Aug 3, 2023
9e322bf
WIP
alonkeyval Aug 3, 2023
5ad8d1d
WIP
alonkeyval Aug 3, 2023
26033f7
Task 165 manage source (#368)
alonkeyval Aug 3, 2023
4e02ce6
WIP
alonkeyval Aug 3, 2023
b49275e
delete files
alonkeyval Aug 3, 2023
beb029f
WIP
alonkeyval Aug 3, 2023
4c28472
move page logic to container
alonkeyval Aug 3, 2023
5eb7361
move page logic to container
alonkeyval Aug 3, 2023
5fe763a
WIP
alonkeyval Aug 3, 2023
bfb54d8
Task 168 refactor (#370)
alonkeyval Aug 3, 2023
0662844
Merge branch 'TASK-141-sources-overview' into main
alonkeyval Aug 3, 2023
f15d28d
WIP
alonkeyval Aug 3, 2023
cfbfc2a
Merge remote-tracking branch 'upstream/main'
alonkeyval Aug 6, 2023
c9d170e
edit resource name
alonkeyval Aug 6, 2023
3b8983c
refactor sources|
alonkeyval Aug 6, 2023
0dbc53d
change files names
alonkeyval Aug 7, 2023
bb9c9d5
change files names
alonkeyval Aug 7, 2023
c2e13cd
delete dest fixed
alonkeyval Aug 7, 2023
61183a4
WIP
alonkeyval Aug 7, 2023
c374b8e
refactor services
alonkeyval Aug 7, 2023
55be5ce
Merge branch 'main' of github.com:alonkeyval/odigos
alonkeyval Aug 7, 2023
f1618a5
WIP
alonkeyval Aug 7, 2023
fd269a6
change file names
alonkeyval Aug 7, 2023
8769e67
WIP
alonkeyval Aug 7, 2023
f5220c5
WIP
alonkeyval Aug 7, 2023
7626088
add contact button
alonkeyval Aug 8, 2023
cef20f6
WIP
alonkeyval Aug 9, 2023
52f92f0
fixed setup source and destinations list wrapping
alonkeyval Aug 9, 2023
6095f4d
manage destination list set up
alonkeyval Aug 9, 2023
960f16d
remove unused code
alonkeyval Aug 10, 2023
d62193b
fixed repeat numbers
alonkeyval Aug 10, 2023
ac1b8f9
remove comments
alonkeyval Aug 10, 2023
419d22c
Merge branch 'TASK-217-centerlize-lists' into TASK-218-remove-next-stop
alonkeyval Aug 10, 2023
68ffb8c
Merge branch 'keyval-dev:main' into main
alonkeyval Aug 10, 2023
5bb8c42
Merge branch 'main' of github.com:alonkeyval/odigos into TASK-218-rem…
alonkeyval Aug 10, 2023
883d21b
WIP
alonkeyval Aug 10, 2023
d6f4127
focus on hover
alonkeyval Aug 10, 2023
7c0e27a
types
alonkeyval Aug 10, 2023
d2ae596
fixed focus issue
alonkeyval Aug 10, 2023
0d38d2a
remove scroll bar on firefox
alonkeyval Aug 10, 2023
0a35b8c
fixed focus issue
alonkeyval Aug 10, 2023
fec0da9
WIP
alonkeyval Aug 10, 2023
41f1d1d
WIP
alonkeyval Aug 10, 2023
41d9ec0
WIP
alonkeyval Aug 10, 2023
b91dcfc
Merge branch 'keyval-dev:main' into main
alonkeyval Aug 10, 2023
0581273
Merge branch 'keyval-dev:main' into main
alonkeyval Aug 16, 2023
7f83013
Merge branch 'keyval-dev:main' into main
alonkeyval Aug 16, 2023
764b34e
Merge branch 'keyval-dev:main' into main
alonkeyval Aug 17, 2023
aae797f
Merge branch 'keyval-dev:main' into main
alonkeyval Aug 24, 2023
eccae08
WIP
alonkeyval Aug 24, 2023
cbc404c
chore: merge master
alonkeyval Sep 13, 2023
4133dbd
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Oct 24, 2023
0e20d78
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Oct 25, 2023
0e03acd
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Nov 12, 2023
792fa0e
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Nov 28, 2023
dc00780
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Dec 25, 2023
5ea8080
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Dec 25, 2023
af2c604
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Dec 26, 2023
a5458e1
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jan 3, 2024
f59a287
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jan 8, 2024
88b0f44
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jan 8, 2024
d5b91f9
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jan 29, 2024
692e8de
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Feb 4, 2024
6d2aa66
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Feb 5, 2024
10bdc06
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Feb 8, 2024
fcbd0a9
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Feb 8, 2024
87aec56
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Feb 11, 2024
ea0a726
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Feb 18, 2024
f0c48c9
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Feb 20, 2024
5729525
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Feb 20, 2024
197a7f9
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Feb 21, 2024
442499f
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Feb 22, 2024
daaf4bd
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Feb 26, 2024
0a5e45d
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Feb 29, 2024
d77bd9c
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Mar 3, 2024
37df88e
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Mar 6, 2024
1f8d7ef
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Mar 7, 2024
b84263e
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Mar 7, 2024
25a6e7a
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Mar 10, 2024
caa3fa7
chore: wip
alonkeyval Mar 10, 2024
06afb46
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Mar 11, 2024
da00e35
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Mar 12, 2024
54f669f
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Mar 12, 2024
d89a229
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Mar 12, 2024
16815d7
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Mar 13, 2024
21096f4
chore: wip
alonkeyval Mar 13, 2024
99bac3f
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Mar 14, 2024
8290402
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Mar 18, 2024
82e6b80
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Apr 18, 2024
8b8f4f1
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Apr 25, 2024
285a13b
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval May 8, 2024
e91e7cc
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval May 9, 2024
a53e048
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval May 16, 2024
596be25
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval May 16, 2024
8188793
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval May 19, 2024
9488eb0
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval May 21, 2024
798ea80
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval May 22, 2024
0fd5f20
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval May 22, 2024
fcc88a1
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval May 23, 2024
12395d6
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval May 30, 2024
ffab60d
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval May 30, 2024
c743c28
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jun 5, 2024
2546917
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jun 10, 2024
c84d281
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jun 26, 2024
841a5d0
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jun 27, 2024
940d60d
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jun 27, 2024
ca5117d
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jun 30, 2024
e2742d6
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jul 1, 2024
ae64828
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jul 4, 2024
9fb66bc
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jul 8, 2024
e5e537b
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jul 10, 2024
db087de
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jul 10, 2024
0905d78
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jul 10, 2024
0423cde
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jul 15, 2024
a973fba
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jul 16, 2024
175153b
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jul 17, 2024
5e0c295
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jul 21, 2024
9c9e33c
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jul 22, 2024
6338070
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jul 28, 2024
af913bc
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Aug 12, 2024
6cfbc67
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Aug 14, 2024
ca7c4b9
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Aug 27, 2024
65b5f8b
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Sep 2, 2024
0a6e9b8
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Sep 3, 2024
3791c99
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Sep 3, 2024
16ba495
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Sep 5, 2024
dd14984
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Sep 8, 2024
0502986
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Sep 11, 2024
057dd00
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Sep 17, 2024
7727bc4
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Sep 18, 2024
5551056
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Sep 19, 2024
3d316f8
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Sep 23, 2024
3f38d54
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Sep 23, 2024
9886db3
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Sep 24, 2024
0ef9790
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Sep 25, 2024
1322265
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Sep 25, 2024
fddac2e
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Sep 26, 2024
7a07999
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Sep 28, 2024
882ffcf
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Oct 6, 2024
d08a7d4
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Oct 9, 2024
789c2e4
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Oct 10, 2024
3a98d4d
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Oct 10, 2024
df63cb0
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Oct 27, 2024
89e43e6
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Nov 10, 2024
9926d00
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Nov 11, 2024
6f5bd78
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Nov 12, 2024
19aec2a
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Nov 14, 2024
f3fc906
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Nov 19, 2024
6b57033
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Nov 20, 2024
6433d70
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Nov 20, 2024
9357ef7
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Nov 20, 2024
def04c9
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Nov 20, 2024
2139781
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Nov 21, 2024
5de9a8b
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Nov 26, 2024
375a9e0
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Nov 30, 2024
607b84d
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Dec 1, 2024
0ded276
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Dec 2, 2024
07b9635
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Dec 4, 2024
09011e8
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Dec 4, 2024
85deec2
chore: refactor get service name
alonbraymok Dec 8, 2024
3ff4bde
chore: change text
alonbraymok Dec 8, 2024
a9910f6
Merge branch 'main' into opamp-servicename-refactor
alonkeyval Dec 8, 2024
93bfd18
chore: move insConfig to parent
alonbraymok Dec 8, 2024
a07255b
Merge branch 'opamp-servicename-refactor' of github.com:alonkeyval/od…
alonbraymok Dec 8, 2024
2b19c53
chore: remove unused code
alonbraymok Dec 8, 2024
5f095d8
chore: remove unsed code
alonbraymok Dec 8, 2024
6270580
chore: revert config map object
alonbraymok Dec 8, 2024
85e6928
chore: revert log
alonbraymok Dec 8, 2024
ee78039
Merge branch 'main' into opamp-servicename-refactor
alonkeyval Dec 8, 2024
5f39dcf
chore: fallback service name
alonbraymok Dec 8, 2024
762e3c0
Merge branch 'opamp-servicename-refactor' of github.com:alonkeyval/od…
alonbraymok Dec 8, 2024
468f4c3
Merge branch 'main' into opamp-servicename-refactor
alonkeyval Dec 9, 2024
58e4211
Merge branch 'main' into opamp-servicename-refactor
alonkeyval Dec 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion odiglet/debug.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ RUN ARCH_SUFFIX=$(cat /tmp/arch_suffix) && \
unzip opentelemetry-dotnet-instrumentation-linux-glibc-${ARCH_SUFFIX}.zip && \
rm opentelemetry-dotnet-instrumentation-linux-glibc-${ARCH_SUFFIX}.zip

FROM --platform=$BUILDPLATFORM keyval/odiglet-base:v1.5 AS builder
FROM --platform=$BUILDPLATFORM keyval/odiglet-base:v1.7 AS builder
WORKDIR /go/src/github.com/odigos-io/odigos
# Copyy local modules required by the build
COPY api/ api/
Expand Down
24 changes: 10 additions & 14 deletions opampserver/pkg/deviceid/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ import (
)

type K8sResourceAttributes struct {
OtelServiceName string
Namespace string
WorkloadKind string
WorkloadName string
PodName string
ContainerName string
Namespace string
WorkloadKind string
WorkloadName string
PodName string
ContainerName string
}

type DeviceIdCache struct {
Expand Down Expand Up @@ -64,15 +63,12 @@ func (d *DeviceIdCache) GetAttributesFromDevice(ctx context.Context, deviceId st
return nil, pod, err
}

serviceName := d.podInfoResolver.ResolveServiceName(ctx, workloadName, workloadKind, containerDetails)

k8sAttributes := &K8sResourceAttributes{
Namespace: containerDetails.PodNamespace,
PodName: containerDetails.PodName,
ContainerName: containerDetails.ContainerName,
WorkloadKind: workloadKind,
WorkloadName: workloadName,
OtelServiceName: serviceName,
Namespace: containerDetails.PodNamespace,
PodName: containerDetails.PodName,
ContainerName: containerDetails.ContainerName,
WorkloadKind: workloadKind,
WorkloadName: workloadName,
}

d.logger.V(1).Info("resolved device id to container details", "k8sAttributes", k8sAttributes)
Expand Down
56 changes: 0 additions & 56 deletions opampserver/pkg/deviceid/k8sattributes.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ package deviceid

import (
"context"
"errors"

"github.com/go-logr/logr"
"github.com/odigos-io/odigos/common/consts"
"github.com/odigos-io/odigos/k8sutils/pkg/workload"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand All @@ -26,60 +24,6 @@ func NewK8sPodInfoResolver(logger logr.Logger, kubeClient *kubernetes.Clientset)
}
}

func (k *K8sPodInfoResolver) getServiceNameFromAnnotation(ctx context.Context, name string, kind string, namespace string) (string, bool) {
obj, err := k.getWorkloadObject(ctx, name, kind, namespace)
if err != nil {
k.logger.Error(err, "failed to get workload object to resolve reported service name annotation. will use fallback service name")
return "", false
}

annotations := obj.GetAnnotations()
if annotations == nil {
// no annotations, so service name is not specified by user. fallback to workload name
return "", false
}

overwrittenName, exists := annotations[consts.OdigosReportedNameAnnotation]
if !exists {
// the is no annotation by user for specific reported service name for this workload
// fallback to workload name
return "", false
}

return overwrittenName, true
}

func (k *K8sPodInfoResolver) getWorkloadObject(ctx context.Context, name string, kind string, namespace string) (metav1.Object, error) {
switch kind {
case "Deployment":
return k.kubeClient.AppsV1().Deployments(namespace).Get(ctx, name, metav1.GetOptions{})
case "StatefulSet":
return k.kubeClient.AppsV1().StatefulSets(namespace).Get(ctx, name, metav1.GetOptions{})
case "DaemonSet":
return k.kubeClient.AppsV1().DaemonSets(namespace).Get(ctx, name, metav1.GetOptions{})
case "Pod":
return k.kubeClient.CoreV1().Pods(namespace).Get(ctx, name, metav1.GetOptions{})
}

return nil, errors.New("failed to get workload object for kind: " + kind)
}

// Resolves the service name, with the following priority:
// 1. If the user added reported name annotation to the workload, use it
// 2. Otherwise, use the workload name as service name
//
// if one of the above conditions has err, it will be logged and the next condition will be checked
func (k *K8sPodInfoResolver) ResolveServiceName(ctx context.Context, workloadName string, workloadKind string, containerDetails *ContainerDetails) string {

// we always fetch the fresh service name from the annotation to make sure the most up to date value is returned
serviceName, foundReportedName := k.getServiceNameFromAnnotation(ctx, workloadName, workloadKind, containerDetails.PodNamespace)
if foundReportedName {
return serviceName
}

return workloadName
}

// GetWorkloadNameByOwner gets the workload name and kind from the owner reference
func (k *K8sPodInfoResolver) GetWorkloadNameByOwner(ctx context.Context, podNamespace string, podName string) (string, string, *corev1.Pod, error) {
pod, err := k.kubeClient.CoreV1().Pods(podNamespace).Get(ctx, podName, metav1.GetOptions{})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type ResourceAttribute struct {
// - pod name
// - container name
// - object name and kind (deployment, statefulset, daemonset, pod)
func CalculateServerAttributes(k8sAttributes *deviceid.K8sResourceAttributes, nodeName string) ([]ResourceAttribute, error) {
func CalculateServerAttributes(k8sAttributes *deviceid.K8sResourceAttributes, nodeName string, serviceName string) ([]ResourceAttribute, error) {

serverOfferResourceAttributes := []ResourceAttribute{
{
Expand All @@ -32,7 +32,7 @@ func CalculateServerAttributes(k8sAttributes *deviceid.K8sResourceAttributes, no
},
{
Key: string(semconv.ServiceNameKey),
Value: k8sAttributes.OtelServiceName,
Value: serviceName,
},
{
Key: string(semconv.K8SPodNameKey),
Expand Down
18 changes: 7 additions & 11 deletions opampserver/pkg/sdkconfig/sdkconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import (
"slices"

"github.com/go-logr/logr"
"github.com/odigos-io/odigos/api/odigos/v1alpha1"

odigosv1 "github.com/odigos-io/odigos/api/odigos/v1alpha1"
"github.com/odigos-io/odigos/common"
k8sconsts "github.com/odigos-io/odigos/k8sutils/pkg/consts"
"github.com/odigos-io/odigos/k8sutils/pkg/workload"
Expand Down Expand Up @@ -52,9 +53,10 @@ func NewSdkConfigManager(logger logr.Logger, mgr ctrl.Manager, connectionCache *
return sdkConfigManager
}

func (m *SdkConfigManager) GetFullConfig(ctx context.Context, remoteResourceAttributes []configresolvers.ResourceAttribute, podWorkload *workload.PodWorkload, instrumentedAppName string, programmingLanguage string) (*protobufs.AgentRemoteConfig, error) {
func (m *SdkConfigManager) GetFullConfig(ctx context.Context, remoteResourceAttributes []configresolvers.ResourceAttribute, podWorkload *workload.PodWorkload, instrumentedAppName string, programmingLanguage string,
instrumentationConfig *odigosv1.InstrumentationConfig) (*protobufs.AgentRemoteConfig, error) {

var nodeCollectorGroup v1alpha1.CollectorsGroup
var nodeCollectorGroup odigosv1.CollectorsGroup
err := m.mgr.GetClient().Get(ctx, client.ObjectKey{Name: k8sconsts.OdigosNodeCollectorCollectorGroupName, Namespace: m.odigosNs}, &nodeCollectorGroup)
if err != nil {
return nil, err
Expand All @@ -80,14 +82,8 @@ func (m *SdkConfigManager) GetFullConfig(ctx context.Context, remoteResourceAttr
return nil, err
}

// We are moving towards passing all Instrumentation capabilities unchanged within the instrumentationConfig to the opamp client.
// Gradually, we will migrate the InstrumentationLibraryConfigs and SDK remote config into the instrumentationConfig and the agents to use it.
instrumentationConfig, err := configsections.GetWorkloadInstrumentationConfig(ctx, m.mgr.GetClient(), instrumentedAppName, podWorkload.Namespace)
if err != nil {
m.logger.Error(err, "failed to get instrumentation config", "k8sAttributes", remoteResourceAttributes)
return nil, err
}

// // We are moving towards passing all Instrumentation capabilities unchanged within the instrumentationConfig to the opamp client.
// // Gradually, we will migrate the InstrumentationLibraryConfigs and SDK remote config into the instrumentationConfig and the agents to use it.
opampRemoteConfigInstrumentationConfig, err := configsections.FilterRelevantSdk(instrumentationConfig, programmingLanguage)

agentConfigMap := protobufs.AgentConfigMap{
Expand Down
43 changes: 23 additions & 20 deletions opampserver/pkg/server/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (
di "github.com/odigos-io/odigos/opampserver/pkg/deviceid"
"github.com/odigos-io/odigos/opampserver/pkg/sdkconfig"
"github.com/odigos-io/odigos/opampserver/pkg/sdkconfig/configresolvers"
"github.com/odigos-io/odigos/opampserver/pkg/sdkconfig/configsections"
"github.com/odigos-io/odigos/opampserver/protobufs"
semconv "go.opentelemetry.io/otel/semconv/v1.24.0"
corev1 "k8s.io/api/core/v1"
Expand Down Expand Up @@ -70,7 +71,7 @@ func (c *ConnectionHandlers) OnNewConnection(ctx context.Context, deviceId strin
return nil, nil, fmt.Errorf("missing programming language in agent description")
}

k8sAttributes, pod, err := c.resolveK8sAttributes(ctx, attrs, deviceId, c.logger)
k8sAttributes, pod, err := c.resolveK8sAttributes(ctx, attrs, deviceId)
if err != nil {
return nil, nil, fmt.Errorf("failed to process k8s attributes: %w", err)
}
Expand All @@ -82,18 +83,28 @@ func (c *ConnectionHandlers) OnNewConnection(ctx context.Context, deviceId strin
}

instrumentedAppName := workload.CalculateWorkloadRuntimeObjectName(k8sAttributes.WorkloadName, k8sAttributes.WorkloadKind)
remoteResourceAttributes, err := configresolvers.CalculateServerAttributes(k8sAttributes, c.nodeName)
instrumentationConfig, err := configsections.GetWorkloadInstrumentationConfig(ctx, c.kubeclient, instrumentedAppName, podWorkload.Namespace)
if err != nil {
c.logger.Error(err, "failed to get instrumentation config", "instrumentedAppName", instrumentedAppName, "namespace", podWorkload.Namespace)
return nil, nil, err
}

serviceName := instrumentationConfig.Spec.ServiceName
if serviceName == "" {
serviceName = k8sAttributes.WorkloadName
}
remoteResourceAttributes, err := configresolvers.CalculateServerAttributes(k8sAttributes, c.nodeName, serviceName)
if err != nil {
c.logger.Error(err, "failed to calculate server attributes", "k8sAttributes", k8sAttributes)
return nil, nil, err
}

fullRemoteConfig, err := c.sdkConfig.GetFullConfig(ctx, remoteResourceAttributes, &podWorkload, instrumentedAppName, attrs.ProgrammingLanguage)
fullRemoteConfig, err := c.sdkConfig.GetFullConfig(ctx, remoteResourceAttributes, &podWorkload, instrumentedAppName, attrs.ProgrammingLanguage, instrumentationConfig)
if err != nil {
c.logger.Error(err, "failed to get full config", "k8sAttributes", k8sAttributes)
return nil, nil, err
}
c.logger.Info("new OpAMP client connected", "deviceId", deviceId, "namespace", k8sAttributes.Namespace, "podName", k8sAttributes.PodName, "instrumentedAppName", instrumentedAppName, "workloadKind", k8sAttributes.WorkloadKind, "workloadName", k8sAttributes.WorkloadName, "containerName", k8sAttributes.ContainerName, "otelServiceName", k8sAttributes.OtelServiceName)
c.logger.Info("new OpAMP client connected", "deviceId", deviceId, "namespace", k8sAttributes.Namespace, "podName", k8sAttributes.PodName, "instrumentedAppName", instrumentedAppName, "workloadKind", k8sAttributes.WorkloadKind, "workloadName", k8sAttributes.WorkloadName, "containerName", k8sAttributes.ContainerName, "otelServiceName", serviceName)

connectionInfo := &connection.ConnectionInfo{
DeviceId: deviceId,
Expand Down Expand Up @@ -198,12 +209,10 @@ func (c *ConnectionHandlers) UpdateInstrumentationInstanceStatus(ctx context.Con
}

// resolveK8sAttributes resolves K8s resource attributes using either direct attributes from opamp agent or device cache
func (c *ConnectionHandlers) resolveK8sAttributes(ctx context.Context, attrs opampAgentAttributesKeys,
deviceId string, logger logr.Logger) (*di.K8sResourceAttributes, *corev1.Pod, error) {
func (c *ConnectionHandlers) resolveK8sAttributes(ctx context.Context, attrs opampAgentAttributesKeys, deviceId string) (*di.K8sResourceAttributes, *corev1.Pod, error) {

if attrs.hasRequiredAttributes() {
podInfoResolver := di.NewK8sPodInfoResolver(logger, c.kubeClientSet)
return resolveFromDirectAttributes(ctx, attrs, podInfoResolver, c.kubeClientSet)
return resolveFromDirectAttributes(ctx, attrs, c.kubeClientSet)
}
return c.deviceIdCache.GetAttributesFromDevice(ctx, deviceId)
}
Expand Down Expand Up @@ -231,8 +240,7 @@ func (k opampAgentAttributesKeys) hasRequiredAttributes() bool {
return k.ContainerName != "" && k.PodName != "" && k.Namespace != ""
}

func resolveFromDirectAttributes(ctx context.Context, attrs opampAgentAttributesKeys,
podInfoResolver *di.K8sPodInfoResolver, kubeClient *kubernetes.Clientset) (*di.K8sResourceAttributes, *corev1.Pod, error) {
func resolveFromDirectAttributes(ctx context.Context, attrs opampAgentAttributesKeys, kubeClient *kubernetes.Clientset) (*di.K8sResourceAttributes, *corev1.Pod, error) {

pod, err := kubeClient.CoreV1().Pods(attrs.Namespace).Get(ctx, attrs.PodName, metav1.GetOptions{})
if err != nil {
Expand All @@ -250,17 +258,12 @@ func resolveFromDirectAttributes(ctx context.Context, attrs opampAgentAttributes
}
}

serviceName := podInfoResolver.ResolveServiceName(ctx, workloadName, string(workloadKind), &di.ContainerDetails{
PodNamespace: attrs.Namespace,
})

k8sAttributes := &di.K8sResourceAttributes{
Namespace: attrs.Namespace,
PodName: attrs.PodName,
ContainerName: attrs.ContainerName,
WorkloadKind: string(workloadKind),
WorkloadName: workloadName,
OtelServiceName: serviceName,
Namespace: attrs.Namespace,
PodName: attrs.PodName,
ContainerName: attrs.ContainerName,
WorkloadKind: string(workloadKind),
WorkloadName: workloadName,
}

return k8sAttributes, pod, nil
Expand Down
Loading