hs-opentelemetry-api-0.2.0.0: OpenTelemetry API for use by libraries for direct instrumentation or wrapper packages.
Copyright(c) Ian Duncan 2021
LicenseBSD-3
MaintainerIan Duncan
Stabilityexperimental
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

OpenTelemetry.Resource.Kubernetes

Description

 
Synopsis

Documentation

newtype Cluster Source #

A Kubernetes Cluster.

Constructors

Cluster 

Fields

data Node Source #

A Kubernetes Node.

Constructors

Node 

Instances

Instances details
ToResource Node Source # 
Instance details

Defined in OpenTelemetry.Resource.Kubernetes

Associated Types

type ResourceSchema Node :: Maybe Symbol Source #

type ResourceSchema Node Source # 
Instance details

Defined in OpenTelemetry.Resource.Kubernetes

newtype Namespace Source #

Namespaces provide a scope for names. Names of objects need to be unique within a namespace, but not across namespaces.

Constructors

Namespace 

Fields

data Pod Source #

The smallest and simplest Kubernetes object. A Pod represents a set of running containers on your cluster.

Constructors

Pod 

Fields

Instances

Instances details
ToResource Pod Source # 
Instance details

Defined in OpenTelemetry.Resource.Kubernetes

Associated Types

type ResourceSchema Pod :: Maybe Symbol Source #

type ResourceSchema Pod Source # 
Instance details

Defined in OpenTelemetry.Resource.Kubernetes

data Container Source #

A container in a PodTemplate.

Constructors

Container 

Fields

  • containerName :: Maybe Text

    The name of the Container from Pod specification, must be unique within a Pod. Container runtime usually uses different globally unique name (container.name).

  • containerRestartCount :: Maybe Int

    Number of times the container was restarted. This attribute can be used to identify a particular container (running or stopped) within a container spec.

data ReplicaSet Source #

A ReplicaSet’s purpose is to maintain a stable set of replica Pods running at any given time.

data Deployment Source #

An API object that manages a replicated application, typically by running Pods with no local state. Each replica is represented by a Pod, and the Pods are distributed among the nodes of a cluster.

Constructors

Deployment 

Fields

data StatefulSet Source #

Manages the deployment and scaling of a set of Pods, and provides guarantees about the ordering and uniqueness of these Pods.

Constructors

StatefulSet 

Fields

data DaemonSet Source #

A DaemonSet ensures that all (or some) Nodes run a copy of a Pod.

Constructors

DaemonSet 

Fields

data Job Source #

A Job creates one or more Pods and ensures that a specified number of them successfully terminate.

Constructors

Job 

Fields

Instances

Instances details
ToResource Job Source # 
Instance details

Defined in OpenTelemetry.Resource.Kubernetes

Associated Types

type ResourceSchema Job :: Maybe Symbol Source #

type ResourceSchema Job Source # 
Instance details

Defined in OpenTelemetry.Resource.Kubernetes

data CronJob Source #

A CronJob creates Jobs on a repeating schedule.

Constructors

CronJob 

Fields