state

package
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL