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

Feature/gen 2030 group sources to destination #2112

Open
wants to merge 285 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
285 commits
Select commit Hold shift + click to select a range
9d7d46c
chore: init group source to destination
alonbraymok Dec 24, 2024
aecb5f6
chore: merge feature branch
alonbraymok Dec 24, 2024
fc4280d
feat: read & display "conditions" for actions
BenElferink Dec 25, 2024
7f7c2b3
fix: build error
BenElferink Dec 25, 2024
7dd99ab
chore: wip
alonbraymok Dec 25, 2024
5da3b1d
feat: add sources field with spec and status to compute platform
BenElferink Dec 25, 2024
b111f5f
Merge branch 'main' into gen-2111
BenElferink Dec 25, 2024
6b00209
Merge branch 'main' of github.com:odigos-io/odigos into sources-ui
BenElferink Dec 25, 2024
e70dd66
refactor: simplify action data structure by removing nested status
BenElferink Dec 25, 2024
3860467
Merge branch 'gen-2111' of github.com:BenElferink/odigos into sources-ui
BenElferink Dec 25, 2024
09563f1
fix: build error
BenElferink Dec 25, 2024
4016274
Merge branch 'gen-2111' of github.com:BenElferink/odigos into sources-ui
BenElferink Dec 25, 2024
70b1ed0
feat: add source management for workloads and update GraphQL queries
BenElferink Dec 25, 2024
6529165
refactor: remove sources field and related types from GraphQL schema
BenElferink Dec 25, 2024
3b522ba
refactor: simplify workload source creation and deletion logic
BenElferink Dec 25, 2024
2c6a150
fix: validate workload kind in CreateWorkloadSource function
BenElferink Dec 25, 2024
027de43
Merge branch 'source-crd' of github.com:damemi/odigos into sources-ui
BenElferink Dec 25, 2024
b281203
fix: use default namespace for creating and deleting workload sources
BenElferink Dec 25, 2024
d3ccd71
refactor: replace workload source functions with source CRD implement…
BenElferink Dec 25, 2024
762f815
Merge pull request #10 from BenElferink/sources-ui
BenElferink Dec 25, 2024
7af2640
feat: add GetSourceCRD function to retrieve source CRD by workload de…
BenElferink Dec 25, 2024
8dc557d
feat: add GetSourceCRD function to retrieve source CRD by workload de…
BenElferink Dec 25, 2024
2faf712
fix: handle case when source is not found in GetSourceCRD and remove …
BenElferink Dec 25, 2024
1e88ed0
Merge branch 'feature/source-ui' into source-ui-delete
BenElferink Dec 25, 2024
a94c150
feat: update GetSourceCRD to GetSourceCRDs for retrieving multiple so…
BenElferink Dec 26, 2024
89fa6fa
feat: implement SetWorkloadInstrumentationLabel function and update S…
BenElferink Dec 26, 2024
b2d947b
Merge branch 'main' of github.com:odigos-io/odigos into source-ui-delete
BenElferink Dec 26, 2024
746ff64
Merge branch 'main' of github.com:odigos-io/odigos into feature/sourc…
BenElferink Dec 26, 2024
4bbe6fd
Merge branch 'feature/source-ui' of github.com:BenElferink/odigos int…
BenElferink Dec 26, 2024
fe4895d
refactor: rename GetSourceCRDs to GetAllSourceCRDs and update related…
BenElferink Dec 26, 2024
5f6ee0d
Merge pull request #11 from BenElferink/source-ui-delete
BenElferink Dec 26, 2024
9136f3b
Feedback
damemi Dec 27, 2024
3ede2c7
Merge remote-tracking branch 'upstream/main' into source-crd
damemi Dec 27, 2024
bd57147
Add Source chainsaw test
damemi Dec 27, 2024
70533c2
Create common interface for instrumenteationConfig and instrumentedAp…
RonFed Dec 27, 2024
0bdfaa1
rename interface to WorkloadDetailsObject
RonFed Dec 27, 2024
9ee971d
Update comment
damemi Dec 27, 2024
c0c526e
Return SourceList by value in GetSourceListForWorkload
damemi Dec 27, 2024
df543a1
Merge branch 'source-crd' of github.com:damemi/odigos into feature/so…
BenElferink Dec 28, 2024
5036796
Add check for existing Source CRD before creation
BenElferink Dec 28, 2024
f0ad0bc
Enhance error message for existing Source CRD to include workload name
BenElferink Dec 28, 2024
1cfc83d
Add Source chainsaw test
damemi Dec 27, 2024
7bf007c
Update comment
damemi Dec 27, 2024
64cd9f1
Return SourceList by value in GetSourceListForWorkload
damemi Dec 27, 2024
14a0758
Refactor K8sActualSources resolver and clean up unused code; improve …
BenElferink Dec 28, 2024
c65f0ab
Merge branch 'source-crd' of github.com:damemi/odigos into feature/so…
BenElferink Dec 28, 2024
3efc8da
Merge branch 'instConfig_conditions' of github.com:RonFed/odigos_fork…
BenElferink Dec 28, 2024
c9a5e5a
Improve error messages in source retrieval and add workload kind vali…
BenElferink Dec 28, 2024
6bdd683
Add --nowait option to cli-install command in Makefile
BenElferink Dec 28, 2024
b5d6d55
Refactor K8sActualSource and related components to streamline data ha…
BenElferink Dec 28, 2024
086b1c8
Remove 'sources' resource from UIClusterRole permissions to refine ac…
BenElferink Dec 28, 2024
644f117
Merge branch 'feature/source-crd' into source-crd
damemi Dec 28, 2024
55112cc
Implement Source CRD instrumentation (#2059)
damemi Dec 28, 2024
98d1a24
Merge branch 'source-crd' of github.com:damemi/odigos into feature/so…
BenElferink Dec 29, 2024
f40fd3c
Merge branch 'feature/source-crd' of github.com:odigos-io/odigos into…
BenElferink Dec 29, 2024
d2fa4ad
fix: build error
BenElferink Dec 29, 2024
1c9e6e9
fix: code review
BenElferink Dec 29, 2024
28fd2ad
Merge branch 'main' of github.com:odigos-io/odigos into feature/sourc…
BenElferink Dec 29, 2024
6cad06c
Merge branch 'main' of github.com:odigos-io/odigos into feature/sourc…
BenElferink Dec 29, 2024
47eebdb
Merge branch 'main' of github.com:odigos-io/odigos into feature/sourc…
BenElferink Dec 29, 2024
b1a2354
sync with main (#2094)
BenElferink Dec 29, 2024
9805a4f
Merge branch 'main' into feature/source-crd
BenElferink Dec 29, 2024
f23f5ce
Merge branch 'feature/source-crd' into feature/source-ui
BenElferink Dec 29, 2024
0a6cd62
fix: remove duplicates
BenElferink Dec 29, 2024
154fb4f
feat: add more status to SSE
BenElferink Dec 29, 2024
4c5a84e
feat: replace instru. apps watcher with istru. configs watcher
BenElferink Dec 29, 2024
f2aa2e1
revert pull Ron PR
BenElferink Dec 29, 2024
4ae87c1
fix: empty line
BenElferink Dec 29, 2024
c233f5b
fix: build error
BenElferink Dec 29, 2024
d12c5fc
fix: improve health status determination logic
BenElferink Dec 29, 2024
527ef33
fix: improve error messages in source management functions
BenElferink Dec 29, 2024
bd95122
fix: correct terminology for InstrumentationConfig in watchers and logs
BenElferink Dec 29, 2024
0eb35fe
fix: remove obsolete case for InstrumentedApplication in useClickNoti…
BenElferink Dec 29, 2024
91d69ae
Enable source e2e test scenario (#2096)
damemi Dec 29, 2024
9dd75d9
Merge branch 'main' into feature/source-crd
BenElferink Dec 29, 2024
9da1ae5
Merge branch 'feature/source-crd' into feature/source-ui
BenElferink Dec 29, 2024
2cfcb92
chore: init custom processor
alonbraymok Dec 30, 2024
976ad4a
chore: build collector config
alonbraymok Dec 30, 2024
638160e
feat: add CRD types and improve error message formatting
BenElferink Dec 30, 2024
afcf5ba
refactor: improve event handling and message formatting for destinati…
BenElferink Dec 30, 2024
83289a3
fix: correct message formatting in SSEMessage and improve error handl…
BenElferink Dec 30, 2024
01acd83
fix: improve message formatting for destination and instrumentation e…
BenElferink Dec 30, 2024
03de9b6
refactor: streamline error handling and notification messages across …
BenElferink Dec 30, 2024
8a6e845
refactor: rename event batcher variables for instrumentation config a…
BenElferink Dec 30, 2024
fe051d4
feat: implement event batching for destination and instrumentation in…
BenElferink Dec 30, 2024
0d426c6
feat: add hideFromHistory option to notifications and improve error m…
BenElferink Dec 30, 2024
b8374a9
refactor: update role permissions and resource names for clarity and …
BenElferink Dec 30, 2024
8cd2eea
cleanup
BenElferink Dec 30, 2024
dbaec1f
feat: enhance notification messages for action and instrumentation ru…
BenElferink Dec 30, 2024
44e36d3
cleanup
BenElferink Dec 30, 2024
dfac48c
refactor: remove instr. app from describe source
BenElferink Dec 30, 2024
c3a964e
cleanup
BenElferink Dec 30, 2024
3c59040
refactor: remove instrumented application retrieval from source resou…
BenElferink Dec 30, 2024
b62b840
refactor: remove unnecessary refetch calls in destination and source …
BenElferink Dec 30, 2024
2962545
refactor: add loading state for namespaces in sources list components
BenElferink Dec 30, 2024
6b9dabd
refactor: handle potential undefined supportedSignals in destinations…
BenElferink Dec 30, 2024
69a314a
refactor: remove unnecessary delay in redirect after destination crea…
BenElferink Dec 30, 2024
391f76f
fix: UI tests
BenElferink Dec 30, 2024
b87a13a
fix: shorter wait times in cypress test
BenElferink Dec 30, 2024
48c4570
feat: add handling for modified instrumentation configs
BenElferink Dec 30, 2024
0b1b073
fix: UI tests again
BenElferink Dec 30, 2024
9f41850
feat: mark instrumented sources when gettgin namespace
BenElferink Dec 30, 2024
bb3472f
feat: refactor source handling to allow UI to persist sources without…
BenElferink Dec 30, 2024
01ac3bb
feat: add sources field with spec and status to compute platform
BenElferink Dec 25, 2024
4eeda2c
feat: add source management for workloads and update GraphQL queries
BenElferink Dec 25, 2024
3408c18
refactor: remove sources field and related types from GraphQL schema
BenElferink Dec 25, 2024
9ac2374
refactor: simplify workload source creation and deletion logic
BenElferink Dec 25, 2024
cb4695b
fix: validate workload kind in CreateWorkloadSource function
BenElferink Dec 25, 2024
12fbcf7
Add finalizer for uninstrumentation
damemi Dec 20, 2024
056ebae
Add workload labels to Source
damemi Dec 20, 2024
3f1b7ef
Add SourceReconciler to deleteinstrumentedapplication controller
damemi Dec 23, 2024
656914d
Enable build and e2e workflows for feature branch
damemi Dec 23, 2024
2645702
fix: use default namespace for creating and deleting workload sources
BenElferink Dec 25, 2024
1ff33b0
refactor: replace workload source functions with source CRD implement…
BenElferink Dec 25, 2024
aab3fe6
feat: add GetSourceCRD function to retrieve source CRD by workload de…
BenElferink Dec 25, 2024
942da6b
fix: handle case when source is not found in GetSourceCRD and remove …
BenElferink Dec 25, 2024
30e8fa5
feat: update GetSourceCRD to GetSourceCRDs for retrieving multiple so…
BenElferink Dec 26, 2024
de9dfe1
feat: implement SetWorkloadInstrumentationLabel function and update S…
BenElferink Dec 26, 2024
30c2ddc
refactor: rename GetSourceCRDs to GetAllSourceCRDs and update related…
BenElferink Dec 26, 2024
40729dd
Feedback
damemi Dec 27, 2024
013a08e
Add check for existing Source CRD before creation
BenElferink Dec 28, 2024
beee82d
Enhance error message for existing Source CRD to include workload name
BenElferink Dec 28, 2024
40afd7f
Refactor K8sActualSources resolver and clean up unused code; improve …
BenElferink Dec 28, 2024
030534f
Create common interface for instrumenteationConfig and instrumentedAp…
RonFed Dec 27, 2024
2dddc11
rename interface to WorkloadDetailsObject
RonFed Dec 27, 2024
1d1bcba
Improve error messages in source retrieval and add workload kind vali…
BenElferink Dec 28, 2024
fbd6007
Add --nowait option to cli-install command in Makefile
BenElferink Dec 28, 2024
d5fbab8
Refactor K8sActualSource and related components to streamline data ha…
BenElferink Dec 28, 2024
5c9d44c
Remove 'sources' resource from UIClusterRole permissions to refine ac…
BenElferink Dec 28, 2024
b698f57
fix: build error
BenElferink Dec 29, 2024
0293867
fix: code review
BenElferink Dec 29, 2024
d796c4f
feat: add more status to SSE
BenElferink Dec 29, 2024
e230cbc
feat: replace instru. apps watcher with istru. configs watcher
BenElferink Dec 29, 2024
0cf2ce7
revert pull Ron PR
BenElferink Dec 29, 2024
51465e1
fix: empty line
BenElferink Dec 29, 2024
933e5b0
fix: build error
BenElferink Dec 29, 2024
4e5d8ba
fix: improve health status determination logic
BenElferink Dec 29, 2024
f3e4e6d
fix: improve error messages in source management functions
BenElferink Dec 29, 2024
0d0c27b
fix: correct terminology for InstrumentationConfig in watchers and logs
BenElferink Dec 29, 2024
bcdedba
fix: remove obsolete case for InstrumentedApplication in useClickNoti…
BenElferink Dec 29, 2024
9a78b0c
feat: add CRD types and improve error message formatting
BenElferink Dec 30, 2024
0063fd3
refactor: improve event handling and message formatting for destinati…
BenElferink Dec 30, 2024
a146201
fix: correct message formatting in SSEMessage and improve error handl…
BenElferink Dec 30, 2024
640056e
fix: improve message formatting for destination and instrumentation e…
BenElferink Dec 30, 2024
5b2fe60
refactor: streamline error handling and notification messages across …
BenElferink Dec 30, 2024
4bfe4d1
refactor: rename event batcher variables for instrumentation config a…
BenElferink Dec 30, 2024
4a82ec3
feat: implement event batching for destination and instrumentation in…
BenElferink Dec 30, 2024
2400dc9
feat: add hideFromHistory option to notifications and improve error m…
BenElferink Dec 30, 2024
b3d0bbf
refactor: update role permissions and resource names for clarity and …
BenElferink Dec 30, 2024
e5b838b
cleanup
BenElferink Dec 30, 2024
15f8c53
feat: enhance notification messages for action and instrumentation ru…
BenElferink Dec 30, 2024
bcac4b6
cleanup
BenElferink Dec 30, 2024
a103bd7
refactor: remove instr. app from describe source
BenElferink Dec 30, 2024
45b738d
cleanup
BenElferink Dec 30, 2024
da67a71
refactor: remove instrumented application retrieval from source resou…
BenElferink Dec 30, 2024
7534382
refactor: remove unnecessary refetch calls in destination and source …
BenElferink Dec 30, 2024
79293de
refactor: add loading state for namespaces in sources list components
BenElferink Dec 30, 2024
6b8c3f7
refactor: handle potential undefined supportedSignals in destinations…
BenElferink Dec 30, 2024
2f08574
refactor: remove unnecessary delay in redirect after destination crea…
BenElferink Dec 30, 2024
3371116
fix: UI tests
BenElferink Dec 30, 2024
eee8b8a
fix: shorter wait times in cypress test
BenElferink Dec 30, 2024
ed9cfdd
feat: add handling for modified instrumentation configs
BenElferink Dec 30, 2024
0cbe6d1
fix: UI tests again
BenElferink Dec 30, 2024
58431b8
feat: mark instrumented sources when gettgin namespace
BenElferink Dec 30, 2024
28b6bd2
feat: refactor source handling to allow UI to persist sources without…
BenElferink Dec 30, 2024
9a24988
Merge branch 'feature/source-ui' of github.com:BenElferink/odigos int…
BenElferink Dec 30, 2024
9777c64
Revert "Merge branch 'feature/source-ui' of github.com:BenElferink/od…
BenElferink Dec 30, 2024
3bf587a
cleanup
BenElferink Dec 30, 2024
348c308
chore: wip + pl ben fork
alonbraymok Dec 30, 2024
3dc7f62
Merge branch 'main' into feature/source-crd
BenElferink Dec 30, 2024
ccdcc49
Source CRD & Instru. Config handling in UI Backend (#2092)
BenElferink Dec 30, 2024
e0d02bd
Merge branch 'feature/source-ui' of https://github.com/BenElferink/od…
alonbraymok Dec 31, 2024
13fda7c
Merge branch 'feature/source-crd' of github.com:keyval-dev/odigos int…
alonbraymok Dec 31, 2024
3f1837c
chore: filter data base on groups and namespaces
alonbraymok Dec 31, 2024
10d35d6
[GEN-2140]: improve UX for "pending" states (#2106)
BenElferink Dec 31, 2024
6d3d447
[GEN-2141]: remove instrumentation config modified-event batcher; upd…
BenElferink Dec 31, 2024
9725d7d
chore: use labels and change mode to array
alonbraymok Jan 1, 2025
a91f4aa
chore: change processor name
alonbraymok Jan 1, 2025
76bd45a
chore: use new processor name
alonbraymok Jan 1, 2025
ba64e37
chore: match logs and metrics
alonbraymok Jan 1, 2025
e4f3a83
chore: gen-2144 performance fixes
alonbraymok Jan 1, 2025
7024a7f
chore: type fix
alonbraymok Jan 1, 2025
8056f3d
chore: add the source reconcailer
alonbraymok Jan 1, 2025
d25ae07
[GEN-2150]: handle smart source-selection (exclude non-changed source…
BenElferink Jan 1, 2025
19b2ec5
Merge branch 'main' into feature/source-crd
BenElferink Jan 1, 2025
dbc89fe
chore: new labels working e2e
alonbraymok Jan 1, 2025
2fd5379
Merge branch 'feature/source-crd' of github.com:keyval-dev/odigos int…
alonbraymok Jan 1, 2025
18d971e
chore: remove dup code in make file
alonbraymok Jan 1, 2025
e393499
chore: remove dup code in make file
alonbraymok Jan 1, 2025
ff6854b
chore: fix typo
alonbraymok Jan 1, 2025
f76af08
chore: remove overhead comments"
alonbraymok Jan 1, 2025
e5572a6
chore: use util file
alonbraymok Jan 1, 2025
ff8416b
chore: remove line
alonbraymok Jan 1, 2025
fdc320f
chore: wip\
alonbraymok Jan 1, 2025
744ceca
Sync main into feature/source-crd (#2121)
damemi Jan 2, 2025
04ae9fb
Merge branch 'main' of github.com:odigos-io/odigos into feature/sourc…
BenElferink Jan 4, 2025
d6a01b5
merge main into feat/source branch (#2136)
BenElferink Jan 6, 2025
f60081f
Sync main into feature/source-crd (#2141)
BenElferink Jan 6, 2025
ff22deb
Sync main into feature/source-crd (#2144)
damemi Jan 6, 2025
a9fd8bf
chore: wip
alonbraymok Jan 8, 2025
f496a52
Sync main into feature/source-crd (#2168)
damemi Jan 8, 2025
4969d67
Add Namespace Source instrumentation (#2105)
damemi Jan 8, 2025
fc9f1c8
[GEN-2149]: handle Source CRD "kind=Namespace" in UI (#2116)
BenElferink Jan 8, 2025
68ffdcb
Add Source defaulting and validating webhooks (#2167)
damemi Jan 8, 2025
8d4a4e6
Merge remote-tracking branch 'upstream/feature/source-crd' into merge…
damemi Jan 8, 2025
46d917e
Remove feature branch from workflows on main
damemi Jan 8, 2025
8505555
Merge branch 'merge-source-into-main' of https://github.com/damemi/od…
alonbraymok Jan 9, 2025
11f0e8a
:q
alonbraymok Jan 9, 2025
6c239c8
Update uninstall for Sources
damemi Jan 9, 2025
aca2b60
Change GetWorkloadSources->GetSources, add IsTerminating, move exclud…
damemi Jan 9, 2025
5c376aa
Webhook: check valid kind casing and namespace match. Update tests
damemi Jan 9, 2025
d529466
Update cli/cmd/resource/README.md
damemi Jan 9, 2025
943bf5a
Add instrumentationDisabled field
damemi Jan 9, 2025
24f2382
Support toggling instrumentationDisabled/finalizers in Defaulter + tests
damemi Jan 9, 2025
48f832e
Merge branch 'main' into merge-source-into-main
damemi Jan 9, 2025
72b7cff
chore: remove duplicate consts, use from k8sutils
BenElferink Jan 10, 2025
90767bf
refactor: simplify GetSourceCRD to return the first source item directly
BenElferink Jan 10, 2025
9286e19
Merge pull request #2 from BenElferink/source-ui-code-review
damemi Jan 10, 2025
d0a4913
Merge branch 'main' into merge-source-into-main
damemi Jan 10, 2025
9d7a6ca
Add client.InNamespace to GetSources
damemi Jan 10, 2025
b25e8ac
refactor: frontend server handlers
BenElferink Jan 12, 2025
8460e0c
Merge branch 'main' of github.com:odigos-io/odigos into gen-2186
BenElferink Jan 12, 2025
86274eb
feat: cli remote update token (#2173)
AvihuHenya Jan 12, 2025
82b1701
Merge branch 'main' into feature/token-crud-ui
BenElferink Jan 12, 2025
9f31e3e
Merge branch 'feature/token-crud-ui' into gen-2186
BenElferink Jan 12, 2025
1e43328
feat: add API token update mutation and corresponding endpoint
BenElferink Jan 12, 2025
da24c7e
Merge branch 'main' into feature/token-crud-ui
BenElferink Jan 12, 2025
d117f5f
Merge branch 'feature/token-crud-ui' into gen-2186
BenElferink Jan 12, 2025
ef7a5eb
fix: add missing newline at end of file in consts.go
BenElferink Jan 12, 2025
76b4a33
chore: pulled main
alonbraymok Jan 12, 2025
2d25889
fix: golangci-lint
BenElferink Jan 12, 2025
f6f037b
chore: wip
alonbraymok Jan 12, 2025
1bb268b
fix: update default namespace in UpdateAPIToken resolver
BenElferink Jan 12, 2025
9f47fe9
Merge branch 'merge-source-into-main' of https://github.com/damemi/od…
alonbraymok Jan 12, 2025
6098288
fix: add lint-fix target to Makefile and reorder imports in common.go
BenElferink Jan 12, 2025
841d45e
chore: wip
alonbraymok Jan 13, 2025
b240292
chore: merge main into branch
alonbraymok Jan 13, 2025
5875215
chore: wip
alonbraymok Jan 13, 2025
dc25267
chore: wip
alonbraymok Jan 13, 2025
e9d32cf
chore: fixed pr comments
alonbraymok Jan 13, 2025
66c14cf
chore: pull main and fixed conflict
alonbraymok Jan 15, 2025
e19bb77
chore: add comments for new roles
alonbraymok Jan 15, 2025
85be432
chore: fixed pr comments
alonbraymok Jan 15, 2025
5c10b7f
chore: remove unused file
alonbraymok Jan 15, 2025
bd60616
chore: fixed pr comments
alonbraymok Jan 15, 2025
43236a1
chore: fix pr comments
alonbraymok Jan 19, 2025
e32be80
chore: wip
alonbraymok Jan 19, 2025
fb3c853
chore: return err on sync field
alonbraymok Jan 19, 2025
8343de1
chore: wip
alonbraymok Jan 19, 2025
2c53e8d
chore: move logic to processor
alonbraymok Jan 19, 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
14 changes: 14 additions & 0 deletions api/config/crd/bases/odigos.io_destinations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,20 @@ spec:
- METRICS
type: string
type: array
sourceSelector:
description: |-
SourceSelector defines which sources can send data to this destination.
If not specified, defaults to "all".
properties:
groups:
items:
type: string
type: array
namespaces:
items:
type: string
type: array
type: object
type:
type: string
required:
Expand Down
249 changes: 125 additions & 124 deletions api/config/crd/bases/odigos.io_sources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,134 +14,135 @@ spec:
singular: source
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .spec.workload.name
name: Workload
type: string
- jsonPath: .spec.workload.kind
name: Kind
type: string
- jsonPath: .spec.workload.namespace
name: Namespace
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: Source configures an application for auto-instrumentation.
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
properties:
disableInstrumentation:
description: DisableInstrumentation excludes this workload from auto-instrumentation.
type: boolean
workload:
description: |-
Workload represents the workload or namespace to be instrumented.
This field is required upon creation and cannot be modified.
properties:
kind:
description: |-
1. the pascal case representation of the workload kind
it is used in k8s api objects as the `Kind` field.
type: string
name:
type: string
namespace:
type: string
required:
- kind
- name
- namespace
type: object
required:
- workload
type: object
status:
properties:
conditions:
description: |-
Represents the observations of a source's current state.
Known .status.conditions.type are: "Available", "Progressing"
items:
description: Condition contains details for one aspect of the current
state of this API Resource.
- additionalPrinterColumns:
- jsonPath: .spec.workload.name
name: Workload
type: string
- jsonPath: .spec.workload.kind
name: Kind
type: string
- jsonPath: .spec.workload.namespace
name: Namespace
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: Source configures an application for auto-instrumentation.
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
properties:
disableInstrumentation:
description: DisableInstrumentation excludes this workload from auto-instrumentation.
type: boolean
workload:
description: |-
Workload represents the workload or namespace to be instrumented.
This field is required upon creation and cannot be modified.
properties:
lastTransitionTime:
kind:
description: |-
lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
format: date-time
1. the pascal case representation of the workload kind
it is used in k8s api objects as the `Kind` field.
type: string
message:
description: |-
message is a human readable message indicating details about the transition.
This may be an empty string.
maxLength: 32768
type: string
observedGeneration:
description: |-
observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance.
format: int64
minimum: 0
type: integer
reason:
description: |-
reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty.
maxLength: 1024
minLength: 1
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
type: string
status:
description: status of the condition, one of True, False, Unknown.
enum:
- "True"
- "False"
- Unknown
name:
type: string
type:
description: type of condition in CamelCase or in foo.example.com/CamelCase.
maxLength: 316
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
namespace:
type: string
required:
- lastTransitionTime
- message
- reason
- status
- type
- kind
- name
- namespace
type: object
type: array
x-kubernetes-list-map-keys:
- type
x-kubernetes-list-type: map
type: object
required:
- spec
type: object
served: true
storage: true
subresources:
status: {}
required:
- workload
type: object
status:
properties:
conditions:
description: |-
Represents the observations of a source's current state.
Known .status.conditions.type are: "Available", "Progressing"
items:
description:
Condition contains details for one aspect of the current
state of this API Resource.
properties:
lastTransitionTime:
description: |-
lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
format: date-time
type: string
message:
description: |-
message is a human readable message indicating details about the transition.
This may be an empty string.
maxLength: 32768
type: string
observedGeneration:
description: |-
observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance.
format: int64
minimum: 0
type: integer
reason:
description: |-
reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty.
maxLength: 1024
minLength: 1
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
type: string
status:
description: status of the condition, one of True, False, Unknown.
enum:
- 'True'
- 'False'
- Unknown
type: string
type:
description: type of condition in CamelCase or in foo.example.com/CamelCase.
maxLength: 316
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
type: string
required:
- lastTransitionTime
- message
- reason
- status
- type
type: object
type: array
x-kubernetes-list-map-keys:
- type
x-kubernetes-list-type: map
type: object
required:
- spec
type: object
served: true
storage: true
subresources:
status: {}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions api/generated/odigos/applyconfiguration/utils.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions api/odigos/v1alpha1/destination_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ type DestinationSpec struct {
Data map[string]string `json:"data"`
SecretRef *v1.LocalObjectReference `json:"secretRef,omitempty"`
Signals []common.ObservabilitySignal `json:"signals"`

// SourceSelector defines which sources can send data to this destination.
// If not specified, defaults to "all".
// +optional
SourceSelector *SourceSelector `json:"sourceSelector,omitempty"`
}

// DestinationStatus defines the observed state of Destination
Expand Down
Loading