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

[GEN-2267] chore: move limit device injection into webhook #2307

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
283 commits
Select commit Hold shift + click to select a range
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
a113168
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Dec 10, 2024
316a81f
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Dec 10, 2024
95cd818
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Dec 11, 2024
f698166
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Dec 12, 2024
a647a6c
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Dec 15, 2024
1591cf4
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Dec 15, 2024
d715a24
:q
alonbraymok Dec 15, 2024
85cb03d
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Dec 16, 2024
7b7cae0
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Dec 16, 2024
582a97a
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Dec 17, 2024
4114840
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Dec 19, 2024
ed85e79
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Dec 23, 2024
c767a08
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Jan 8, 2025
350972f
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Jan 8, 2025
89d0456
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Jan 9, 2025
3caf2b7
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Jan 13, 2025
687bead
Merge branch 'main' of github.com:keyval-dev/odigos
alonbraymok Jan 23, 2025
09d5a8b
chore: move instrumentation device limit to webhook
alonbraymok Jan 26, 2025
b24071f
chore: wip
alonbraymok Jan 26, 2025
a2240bb
chore: set condition
alonbraymok Jan 26, 2025
9ebf49d
chore(instrumentor): remove env-overwrite code
blumamir Jan 27, 2025
a2c247c
chore: simplify migration code
blumamir Jan 27, 2025
2e3c3f7
chore: merge main
alonbraymok Jan 27, 2025
7020ac9
chore: wip
alonbraymok Jan 27, 2025
e0e2622
chore: fix pr comments
alonbraymok Jan 28, 2025
80e52d7
chore: fixed pr comments
alonbraymok Jan 28, 2025
c1a5de3
feat: revert env in migration
blumamir Jan 28, 2025
4bd16be
Merge remote-tracking branch 'upstream/main' into remove-env-overwriter
blumamir Jan 28, 2025
527b88c
fix: lint
blumamir Jan 28, 2025
4bf0acd
chore: get relevant otel sdk
alonbraymok Jan 28, 2025
acd21b0
tests: fix instrumentation config message
blumamir Jan 28, 2025
68cea0b
fix: ignore relevant languages
blumamir Jan 28, 2025
b21bb8f
Merge remote-tracking branch 'upstream/main' into remove-env-overwriter
blumamir Jan 28, 2025
7e7bf9f
Merge branch 'remove-env-overwriter' of github.com:blumamir/odigos in…
alonbraymok Jan 28, 2025
90d9ca4
Merge branch 'main' of github.com:keyval-dev/odigos into gen-2267-mov…
alonbraymok Jan 29, 2025
df3cc51
chore: change func name
alonbraymok Jan 29, 2025
bbd299b
chore: fixed pr comments
alonbraymok Jan 29, 2025
becdb40
chore: wip
alonbraymok Jan 29, 2025
a9b96b7
chore: wip
alonbraymok Feb 2, 2025
4dda1be
chore: fixed build
alonbraymok Feb 2, 2025
a0e3b20
chore: fixed pr issues
alonbraymok Feb 2, 2025
f20155e
chore: fixed tests
alonbraymok Feb 2, 2025
5f1df7b
Merge branch 'main' into gen-2267-move-device-injection-into-wenhook
alonkeyval Feb 2, 2025
5f0a5bd
chore: fixed tests
alonbraymok Feb 2, 2025
a96c5d2
Merge branch 'gen-2267-move-device-injection-into-wenhook' of github.…
alonbraymok Feb 2, 2025
1b4feea
chore: wip
alonbraymok Feb 2, 2025
c6dd22a
Merge branch 'main' into gen-2267-move-device-injection-into-wenhook
alonkeyval Feb 2, 2025
e552c5e
chore: wip
alonbraymok Feb 2, 2025
ea5ea29
Merge branch 'gen-2267-move-device-injection-into-wenhook' of github.…
alonbraymok Feb 2, 2025
ca3bac0
Merge branch 'main' into gen-2267-move-device-injection-into-wenhook
alonkeyval Feb 2, 2025
ee7d8ab
chore: fixs test
alonbraymok Feb 2, 2025
05fa0e9
Merge branch 'gen-2267-move-device-injection-into-wenhook' of github.…
alonbraymok Feb 2, 2025
abb93a3
chore: fixed tests
alonbraymok Feb 2, 2025
1021f04
chore: wip
alonbraymok Feb 2, 2025
17005dc
Merge branch 'main' into gen-2267-move-device-injection-into-wenhook
alonkeyval Feb 2, 2025
d310276
chore: wip
alonbraymok Feb 2, 2025
d4e93f0
Merge branch 'gen-2267-move-device-injection-into-wenhook' of github.…
alonbraymok Feb 2, 2025
4368131
chore: wip
alonbraymok Feb 2, 2025
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
92 changes: 25 additions & 67 deletions instrumentor/controllers/instrumentationdevice/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (

"github.com/odigos-io/odigos/api/k8sconsts"
odigosv1 "github.com/odigos-io/odigos/api/odigos/v1alpha1"
"github.com/odigos-io/odigos/instrumentor/controllers/utils"
"github.com/odigos-io/odigos/instrumentor/controllers/utils/versionsupport"
"github.com/odigos-io/odigos/instrumentor/instrumentation"
"github.com/odigos-io/odigos/instrumentor/sdks"
Expand Down Expand Up @@ -64,52 +63,15 @@ func isDataCollectionReady(ctx context.Context, c client.Client) bool {
return nodeCollectorsGroup.Status.Ready
}

func addInstrumentationDeviceToWorkload(ctx context.Context, kubeClient client.Client, instConfig *odigosv1.InstrumentationConfig) (error, bool) {
// devicePartiallyApplied is used to indicate that the instrumentation device was partially applied for some of the containers.
devicePartiallyApplied := false
deviceNotAppliedDueToPresenceOfAnotherAgent := false
func enableOdigosInstrumentation(ctx context.Context, kubeClient client.Client, instConfig *odigosv1.InstrumentationConfig) error {

foundContainerWithSupportedLanguage := false
instrumentationSkippedDueToOtherAgent := false

logger := log.FromContext(ctx)
obj, err := getWorkloadObject(ctx, kubeClient, instConfig)
if err != nil {
return err, false
}

workload := k8sconsts.PodWorkload{
Name: obj.GetName(),
Namespace: obj.GetNamespace(),
Kind: k8sconsts.WorkloadKind(obj.GetObjectKind().GroupVersionKind().Kind),
}

// build an otel sdk map from instrumentation rules first, and merge it with the default otel sdk map
// this way, we can override the default otel sdk with the instrumentation rules
instrumentationRules := odigosv1.InstrumentationRuleList{}
err = kubeClient.List(ctx, &instrumentationRules)
if err != nil {
return err, false
}

// default otel sdk map according to Odigos tier
otelSdkToUse := GetDefaultSDKs()

for i := range instrumentationRules.Items {
instrumentationRule := &instrumentationRules.Items[i]
if instrumentationRule.Spec.Disabled || instrumentationRule.Spec.OtelSdks == nil {
// we only care about rules that have otel sdks configuration
continue
}

participating := utils.IsWorkloadParticipatingInRule(workload, instrumentationRule)
if !participating {
// filter rules that do not apply to the workload
continue
}

for lang, otelSdk := range instrumentationRule.Spec.OtelSdks.OtelSdkByLanguage {
// languages can override the default otel sdk or another rule.
// there is not check or warning if a language is defined in multiple rules at the moment.
otelSdkToUse[lang] = otelSdk
}
return err
}

result, err := controllerutil.CreateOrPatch(ctx, kubeClient, obj, func() error {
Expand All @@ -131,39 +93,34 @@ func addInstrumentationDeviceToWorkload(ctx context.Context, kubeClient client.C
agentsCanRunConcurrently = *odigosConfiguration.AllowConcurrentAgents
}

err, deviceApplied, deviceSkippedDueToOtherAgent := instrumentation.ApplyInstrumentationDevicesToPodTemplate(podSpec, instConfig.Status.RuntimeDetailsByContainer, otelSdkToUse, obj, logger, agentsCanRunConcurrently)
instrumentationSkippedDueToOtherAgent, foundContainerWithSupportedLanguage, err = instrumentation.ConfigureInstrumentationForPod(podSpec, instConfig.Status.RuntimeDetailsByContainer, obj, logger, agentsCanRunConcurrently)
if err != nil {
return err
}
// if non of the devices were applied due to the presence of another agent, return an error.
if !deviceApplied && deviceSkippedDueToOtherAgent {
deviceNotAppliedDueToPresenceOfAnotherAgent = true
}

devicePartiallyApplied = deviceSkippedDueToOtherAgent && deviceApplied
// If instrumentation device is applied successfully, add odigos.io/inject-instrumentation label to enable the webhook
if deviceApplied {
if !instrumentationSkippedDueToOtherAgent && foundContainerWithSupportedLanguage {
// add odigos.io/inject-instrumentation label to enable the webhook
instrumentation.SetInjectInstrumentationLabel(podSpec)
}

return nil

})

// if non of the devices were applied due to the presence of another agent, return an error.
if deviceNotAppliedDueToPresenceOfAnotherAgent {
return k8sutils.OtherAgentRunError, false
if instrumentationSkippedDueToOtherAgent {
return k8sutils.OtherAgentRunError
}

if err != nil {
return err, false
return err
}

modified := result != controllerutil.OperationResultNone
if modified {
logger.V(0).Info("added instrumentation device to workload", "name", obj.GetName(), "namespace", obj.GetNamespace())
logger.V(0).Info("inject instrumentation label to workload pod template", "name", obj.GetName(), "namespace", obj.GetNamespace())
}

return nil, devicePartiallyApplied
return nil
}

func removeInstrumentationDeviceFromWorkload(ctx context.Context, kubeClient client.Client, namespace string, workloadKind k8sconsts.WorkloadKind, workloadName string, uninstrumentReason ApplyInstrumentationDeviceReason) error {
Expand Down Expand Up @@ -278,17 +235,18 @@ func reconcileSingleWorkload(ctx context.Context, kubeClient client.Client, inst
return nil
}

err, devicePartiallyApplied := addInstrumentationDeviceToWorkload(ctx, kubeClient, instrumentationConfig)
if err == nil {
var successMessage string
if devicePartiallyApplied {
successMessage = "Instrumentation device partially applied"
} else {
successMessage = "Instrumentation device applied successfully"
}
conditions.UpdateStatusConditions(ctx, kubeClient, instrumentationConfig, &instrumentationConfig.Status.Conditions, metav1.ConditionTrue, appliedInstrumentationDeviceType, "InstrumentationDeviceApplied", successMessage)
err = enableOdigosInstrumentation(ctx, kubeClient, instrumentationConfig)
if err != nil {

conditions.UpdateStatusConditions(ctx, kubeClient, instrumentationConfig, &instrumentationConfig.Status.Conditions,
metav1.ConditionFalse, appliedInstrumentationDeviceType, string(ApplyInstrumentationDeviceReasonErrApplying),
"Odigos instrumentation failed to apply")
} else {
conditions.UpdateStatusConditions(ctx, kubeClient, instrumentationConfig, &instrumentationConfig.Status.Conditions, metav1.ConditionFalse, appliedInstrumentationDeviceType, string(ApplyInstrumentationDeviceReasonErrApplying), err.Error())

enabledMessage := "Odigos instrumentation is enabled"
conditions.UpdateStatusConditions(ctx, kubeClient, instrumentationConfig, &instrumentationConfig.Status.Conditions,
metav1.ConditionTrue, appliedInstrumentationDeviceType, "InstrumentationEnabled", enabledMessage)
}

return err
}
72 changes: 62 additions & 10 deletions instrumentor/controllers/instrumentationdevice/pods_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,22 @@ import (

"github.com/go-logr/logr"
"github.com/odigos-io/odigos/api/k8sconsts"
odigosv1 "github.com/odigos-io/odigos/api/odigos/v1alpha1"
"github.com/odigos-io/odigos/common"
"github.com/odigos-io/odigos/instrumentor/controllers/utils"
webhookdeviceinjector "github.com/odigos-io/odigos/instrumentor/internal/webhook_device_injector"
webhookenvinjector "github.com/odigos-io/odigos/instrumentor/internal/webhook_env_injector"
containerutils "github.com/odigos-io/odigos/k8sutils/pkg/container"
"github.com/odigos-io/odigos/instrumentor/sdks"
sourceutils "github.com/odigos-io/odigos/k8sutils/pkg/source"
"github.com/odigos-io/odigos/k8sutils/pkg/workload"
"go.opentelemetry.io/otel/attribute"
semconv "go.opentelemetry.io/otel/semconv/v1.26.0"
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/runtime"
"sigs.k8s.io/controller-runtime/pkg/client"
"sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/webhook"
"sigs.k8s.io/controller-runtime/pkg/webhook/admission"

corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/runtime"
)

const otelServiceNameEnvVarName = "OTEL_SERVICE_NAME"
Expand Down Expand Up @@ -49,11 +51,11 @@ func (p *PodsWebhook) Default(ctx context.Context, obj runtime.Object) error {
pod.Annotations = map[string]string{}
}

// Inject ODIGOS environment variables into all containers
return p.injectOdigosEnvVars(ctx, logger, pod)
// Inject ODIGOS environment variables and instrumentation device into all containers
return p.injectOdigosInstrumentation(ctx, logger, pod)
}

func (p *PodsWebhook) injectOdigosEnvVars(ctx context.Context, logger logr.Logger, pod *corev1.Pod) error {
func (p *PodsWebhook) injectOdigosInstrumentation(ctx context.Context, logger logr.Logger, pod *corev1.Pod) error {
// Environment variables that remain consistent across all containers
commonEnvVars := getCommonEnvVars()

Expand All @@ -79,19 +81,39 @@ func (p *PodsWebhook) injectOdigosEnvVars(ctx context.Context, logger logr.Logge
return fmt.Errorf("namespace is empty for pod %s/%s, Skipping Injection of ODIGOS environment variables", pod.Namespace, pod.Name)
}
}
var workloadInstrumentationConfig odigosv1.InstrumentationConfig
instrumentationConfigName := workload.CalculateWorkloadRuntimeObjectName(podWorkload.Name, podWorkload.Kind)

if err := p.Get(ctx, client.ObjectKey{Namespace: podWorkload.Namespace, Name: instrumentationConfigName}, &workloadInstrumentationConfig); err != nil {
return fmt.Errorf("failed to get instrumentationConfig: %w", err)
}

otelSdkToUse, err := getRelevantOtelSDKs(ctx, p.Client, *podWorkload)
if err != nil {
return fmt.Errorf("failed to determine OpenTelemetry SDKs: %w", err)
}

var serviceName *string
var serviceNameEnv *corev1.EnvVar

for i := range pod.Spec.Containers {
container := &pod.Spec.Containers[i]
runtimeDetails := workloadInstrumentationConfig.Status.GetRuntimeDetailsForContainer(*container)
if runtimeDetails == nil {
continue
}

if runtimeDetails.Language == common.UnknownProgrammingLanguage {
continue
}

pl, otelsdk, found := containerutils.GetLanguageAndOtelSdk(container)
otelSdk, found := otelSdkToUse[runtimeDetails.Language]
if !found {
continue
}

webhookenvinjector.InjectOdigosAgentEnvVars(ctx, p.Client, logger, *podWorkload, container, pl, otelsdk)
webhookdeviceinjector.InjectOdigosInstrumentationDevice(*podWorkload, container, otelSdk, runtimeDetails)
webhookenvinjector.InjectOdigosAgentEnvVars(logger, *podWorkload, container, otelSdk, runtimeDetails)

// Check if the environment variables are already present, if so skip inject them again.
if envVarsExist(container.Env, commonEnvVars) {
Expand All @@ -101,7 +123,7 @@ func (p *PodsWebhook) injectOdigosEnvVars(ctx context.Context, logger logr.Logge
containerNameEnv := corev1.EnvVar{Name: k8sconsts.OdigosEnvVarContainerName, Value: container.Name}
container.Env = append(container.Env, append(commonEnvVars, containerNameEnv)...)

if shouldInjectServiceName(pl, otelsdk) {
if shouldInjectServiceName(runtimeDetails.Language, otelSdk) {
// Ensure the serviceName is fetched only once per pod
if serviceName == nil {
serviceName = p.getServiceNameForEnv(ctx, logger, podWorkload)
Expand Down Expand Up @@ -251,3 +273,33 @@ func (p *PodsWebhook) getServiceNameForEnv(ctx context.Context, logger logr.Logg

return &resolvedServiceName
}

func getRelevantOtelSDKs(ctx context.Context, kubeClient client.Client, podWorkload k8sconsts.PodWorkload) (map[common.ProgrammingLanguage]common.OtelSdk, error) {

instrumentationRules := odigosv1.InstrumentationRuleList{}
if err := kubeClient.List(ctx, &instrumentationRules); err != nil {
return nil, err
}

otelSdkToUse := sdks.GetDefaultSDKs()
for i := range instrumentationRules.Items {
rule := &instrumentationRules.Items[i]
if rule.Spec.Disabled || rule.Spec.OtelSdks == nil {
// we only care about rules that have otel sdks configuration
continue
}

if !utils.IsWorkloadParticipatingInRule(podWorkload, rule) {
// filter rules that do not apply to the workload
continue
}

for lang, otelSdk := range rule.Spec.OtelSdks.OtelSdkByLanguage {
// languages can override the default otel sdk or another rule.
// there is not check or warning if a language is defined in multiple rules at the moment.
otelSdkToUse[lang] = otelSdk
}
}

return otelSdkToUse, nil
}
43 changes: 9 additions & 34 deletions instrumentor/instrumentation/instrumentation.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package instrumentation

import (
"errors"
"fmt"
"strings"

"github.com/go-logr/logr"
Expand All @@ -12,37 +11,35 @@ import (

"github.com/odigos-io/odigos/common"
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
)

var (
ErrNoDefaultSDK = errors.New("no default sdks found")
)

func ApplyInstrumentationDevicesToPodTemplate(original *corev1.PodTemplateSpec, runtimeDetails []odigosv1.RuntimeDetailsByContainer, defaultSdks map[common.ProgrammingLanguage]common.OtelSdk, targetObj client.Object,
logger logr.Logger, agentsCanRunConcurrently bool) (error, bool, bool) {
func ConfigureInstrumentationForPod(original *corev1.PodTemplateSpec, runtimeDetails []odigosv1.RuntimeDetailsByContainer, targetObj client.Object,
logger logr.Logger, agentsCanRunConcurrently bool) (bool, bool, error) {
// delete any existing instrumentation devices.
// this is necessary for example when migrating from community to enterprise,
// and we need to cleanup the community device before adding the enterprise one.
RevertInstrumentationDevices(original)

deviceApplied := false
deviceSkippedDueToOtherAgent := false
foundContainerWithSupportedLanguage := false
instrumentationSkippedDueToOtherAgent := false
var modifiedContainers []corev1.Container

for _, container := range original.Spec.Containers {
containerLanguage := getLanguageOfContainer(runtimeDetails, container.Name)
containerHaveOtherAgent := getContainerOtherAgents(runtimeDetails, container.Name)
libcType := getLibCTypeOfContainer(runtimeDetails, container.Name)

// By default, Odigos does not run alongside other agents.
// However, if configured in the odigos-config, it can be allowed to run in parallel.
if containerHaveOtherAgent != nil && !agentsCanRunConcurrently {
logger.Info("Container is running other agent, skip applying instrumentation device", "agent", containerHaveOtherAgent.Name, "container", container.Name)
logger.Info("Container is running other agent, skip applying instrumentation label", "agent", containerHaveOtherAgent.Name, "container", container.Name)

// Not actually modifying the container, but we need to append it to the list.
modifiedContainers = append(modifiedContainers, container)
deviceSkippedDueToOtherAgent = true
instrumentationSkippedDueToOtherAgent = true
continue
}

Expand All @@ -53,30 +50,18 @@ func ApplyInstrumentationDevicesToPodTemplate(original *corev1.PodTemplateSpec,
// TODO: this will make it look as if instrumentation device is applied,
// which is incorrect
modifiedContainers = append(modifiedContainers, container)
continue
}

// Find and apply the appropriate SDK for the container language.
otelSdk, found := defaultSdks[containerLanguage]
if !found {
return fmt.Errorf("%w for language: %s, container:%s", ErrNoDefaultSDK, containerLanguage, container.Name), deviceApplied, deviceSkippedDueToOtherAgent
}

instrumentationDeviceName := common.InstrumentationDeviceName(containerLanguage, otelSdk, libcType)
if container.Resources.Limits == nil {
container.Resources.Limits = make(map[corev1.ResourceName]resource.Quantity)
continue
}
container.Resources.Limits[corev1.ResourceName(instrumentationDeviceName)] = resource.MustParse("1")
deviceApplied = true

foundContainerWithSupportedLanguage = true
modifiedContainers = append(modifiedContainers, container)
}

if modifiedContainers != nil {
original.Spec.Containers = modifiedContainers
}

return nil, deviceApplied, deviceSkippedDueToOtherAgent
return instrumentationSkippedDueToOtherAgent, foundContainerWithSupportedLanguage, nil
}

func RevertInstrumentationDevices(original *corev1.PodTemplateSpec) bool {
Expand Down Expand Up @@ -120,16 +105,6 @@ func getContainerOtherAgents(runtimeDetails []odigosv1.RuntimeDetailsByContainer
return nil
}

func getLibCTypeOfContainer(runtimeDetails []odigosv1.RuntimeDetailsByContainer, containerName string) *common.LibCType {
for _, rd := range runtimeDetails {
if rd.ContainerName == containerName {
return rd.LibCType
}
}

return nil
}

func SetInjectInstrumentationLabel(original *corev1.PodTemplateSpec) {

if original.Labels == nil {
Expand Down
Loading
Loading