Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCustomResourcesHandler ¶
func GetCustomResourcesHandler(w http.ResponseWriter, r *http.Request)
GetCustomResourcesHandler lists all custom resources of type InstrumentedApplication
Types ¶
type InstrumentdApplicationData ¶
type InstrumentdApplicationData struct { Name string `json:"name"` Namespace string `json:"namespace"` ControllerKind string `json:"controller_kind"` ContainerName *string `json:"container_name"` TracesInstrumented bool `json:"traces_instrumented"` ServiceName *string `json:"service_name"` TracesInstrumentable bool `json:"traces_instrumentable"` Application *string `json:"application"` Language *string `json:"language"` DetectionStatus string `json:"detection_status"` OpentelemetryPreconfigured *bool `json:"opentelemetry_preconfigured"` LogType *string `json:"log_type"` }
InstrumentdApplicationData is the data structure for the custom resource the response will contain a list of these fields name: the name of the custom resource namespace: the namespace of the custom resource controller_kind: the kind of the controller that created the custom resource container_name: the name of the container traces_instrumented: whether the container is instrumented or not traces_instrumentable: whether we can instrument the container or not application: the name of the application that the container belongs to language: the language of the application that the container belongs to detection_status: the status of the detection process log_type: the log type of the application that the container belongs to