Skip to content
This repository has been archived by the owner on Dec 15, 2024. It is now read-only.

feat: receiver signals in collectors group #110

Merged
merged 2 commits into from
Aug 6, 2024
Merged
Changes from all commits
Commits
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
34 changes: 27 additions & 7 deletions charts/odigos/templates/crds/collectorsgroup.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
controller-gen.kubebuilder.io/version: v0.14.0
name: collectorsgroups.odigos.io
spec:
group: odigos.io
Expand All @@ -19,8 +20,19 @@ spec:
description: CollectorsGroup is the Schema for the collectors API
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
Expand All @@ -38,18 +50,26 @@ spec:
- role
type: object
status:
description: CollectorsGroupStatus defines the observed state of Collector
properties:
ready:
type: boolean
receiverSignals:
description: |-
Receiver Signals are the signals (trace, metrics, logs) that the collector has setup
an otlp receiver for, thus it can accept data from an upstream component.
this is used to determine if a workload should export each signal or not.
this list is calculated based on the odigos destinations that were configured
items:
enum:
- LOGS
- TRACES
- METRICS
type: string
type: array
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []