{-# LANGUAGE DataKinds #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
module OTel.SDK.Resource.Core.Attributes where
import Data.Int (Int64)
import Data.Text (Text)
import OTel.API.Common (AttrVals)
import OTel.API.Common.Internal (Key(..), SchemaURL(..), ToAttrVal(..))
pattern RESOURCE_SCHEMA_URL :: SchemaURL
pattern $mRESOURCE_SCHEMA_URL :: forall {r}. SchemaURL -> ((# #) -> r) -> ((# #) -> r) -> r
$bRESOURCE_SCHEMA_URL :: SchemaURL
RESOURCE_SCHEMA_URL <- SchemaURL "https://opentelemetry.io/schemas/1.12.0" where
RESOURCE_SCHEMA_URL = Text -> SchemaURL
SchemaURL Text
"https://opentelemetry.io/schemas/1.12.0"
pattern BROWSER_BRANDS :: Key (AttrVals Text)
pattern $mBROWSER_BRANDS :: forall {r}.
Key (AttrVals Text) -> ((# #) -> r) -> ((# #) -> r) -> r
$bBROWSER_BRANDS :: Key (AttrVals Text)
BROWSER_BRANDS <- Key "browser.brands" where
BROWSER_BRANDS = Text -> Key (AttrVals Text)
forall a. Text -> Key a
Key Text
"browser.brands"
pattern BROWSER_PLATFORM :: Key Text
pattern $mBROWSER_PLATFORM :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bBROWSER_PLATFORM :: Key Text
BROWSER_PLATFORM <- Key "browser.platform" where
BROWSER_PLATFORM = Text -> Key Text
forall a. Text -> Key a
Key Text
"browser.platform"
pattern BROWSER_USER_AGENT :: Key Text
pattern $mBROWSER_USER_AGENT :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bBROWSER_USER_AGENT :: Key Text
BROWSER_USER_AGENT <- Key "browser.user_agent" where
BROWSER_USER_AGENT = Text -> Key Text
forall a. Text -> Key a
Key Text
"browser.user_agent"
pattern CLOUD_PROVIDER :: Key Text
pattern $mCLOUD_PROVIDER :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bCLOUD_PROVIDER :: Key Text
CLOUD_PROVIDER <- Key "cloud.provider" where
CLOUD_PROVIDER = Text -> Key Text
forall a. Text -> Key a
Key Text
"cloud.provider"
pattern CLOUD_ACCOUNT_ID :: Key Text
pattern $mCLOUD_ACCOUNT_ID :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bCLOUD_ACCOUNT_ID :: Key Text
CLOUD_ACCOUNT_ID <- Key "cloud.account.id" where
CLOUD_ACCOUNT_ID = Text -> Key Text
forall a. Text -> Key a
Key Text
"cloud.account.id"
pattern CLOUD_REGION :: Key Text
pattern $mCLOUD_REGION :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bCLOUD_REGION :: Key Text
CLOUD_REGION <- Key "cloud.region" where
CLOUD_REGION = Text -> Key Text
forall a. Text -> Key a
Key Text
"cloud.region"
pattern CLOUD_AVAILABILITY_ZONE :: Key Text
pattern $mCLOUD_AVAILABILITY_ZONE :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bCLOUD_AVAILABILITY_ZONE :: Key Text
CLOUD_AVAILABILITY_ZONE <- Key "cloud.availability_zone" where
CLOUD_AVAILABILITY_ZONE = Text -> Key Text
forall a. Text -> Key a
Key Text
"cloud.availability_zone"
pattern CLOUD_PLATFORM :: Key Text
pattern $mCLOUD_PLATFORM :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bCLOUD_PLATFORM :: Key Text
CLOUD_PLATFORM <- Key "cloud.platform" where
CLOUD_PLATFORM = Text -> Key Text
forall a. Text -> Key a
Key Text
"cloud.platform"
pattern AWS_ECS_CONTAINER_ARN :: Key Text
pattern $mAWS_ECS_CONTAINER_ARN :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bAWS_ECS_CONTAINER_ARN :: Key Text
AWS_ECS_CONTAINER_ARN <- Key "aws.ecs.container.arn" where
AWS_ECS_CONTAINER_ARN = Text -> Key Text
forall a. Text -> Key a
Key Text
"aws.ecs.container.arn"
pattern AWS_ECS_CLUSTER_ARN :: Key Text
pattern $mAWS_ECS_CLUSTER_ARN :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bAWS_ECS_CLUSTER_ARN :: Key Text
AWS_ECS_CLUSTER_ARN <- Key "aws.ecs.cluster.arn" where
AWS_ECS_CLUSTER_ARN = Text -> Key Text
forall a. Text -> Key a
Key Text
"aws.ecs.cluster.arn"
pattern AWS_ECS_LAUNCHTYPE :: Key Text
pattern $mAWS_ECS_LAUNCHTYPE :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bAWS_ECS_LAUNCHTYPE :: Key Text
AWS_ECS_LAUNCHTYPE <- Key "aws.ecs.launchtype" where
AWS_ECS_LAUNCHTYPE = Text -> Key Text
forall a. Text -> Key a
Key Text
"aws.ecs.launchtype"
pattern AWS_ECS_TASK_ARN :: Key Text
pattern $mAWS_ECS_TASK_ARN :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bAWS_ECS_TASK_ARN :: Key Text
AWS_ECS_TASK_ARN <- Key "aws.ecs.task.arn" where
AWS_ECS_TASK_ARN = Text -> Key Text
forall a. Text -> Key a
Key Text
"aws.ecs.task.arn"
pattern AWS_ECS_TASK_FAMILY :: Key Text
pattern $mAWS_ECS_TASK_FAMILY :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bAWS_ECS_TASK_FAMILY :: Key Text
AWS_ECS_TASK_FAMILY <- Key "aws.ecs.task.family" where
AWS_ECS_TASK_FAMILY = Text -> Key Text
forall a. Text -> Key a
Key Text
"aws.ecs.task.family"
pattern AWS_ECS_TASK_REVISION :: Key Text
pattern $mAWS_ECS_TASK_REVISION :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bAWS_ECS_TASK_REVISION :: Key Text
AWS_ECS_TASK_REVISION <- Key "aws.ecs.task.revision" where
AWS_ECS_TASK_REVISION = Text -> Key Text
forall a. Text -> Key a
Key Text
"aws.ecs.task.revision"
pattern AWS_EKS_CLUSTER_ARN :: Key Text
pattern $mAWS_EKS_CLUSTER_ARN :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bAWS_EKS_CLUSTER_ARN :: Key Text
AWS_EKS_CLUSTER_ARN <- Key "aws.eks.cluster.arn" where
AWS_EKS_CLUSTER_ARN = Text -> Key Text
forall a. Text -> Key a
Key Text
"aws.eks.cluster.arn"
pattern AWS_LOG_GROUP_NAMES :: Key (AttrVals Text)
pattern $mAWS_LOG_GROUP_NAMES :: forall {r}.
Key (AttrVals Text) -> ((# #) -> r) -> ((# #) -> r) -> r
$bAWS_LOG_GROUP_NAMES :: Key (AttrVals Text)
AWS_LOG_GROUP_NAMES <- Key "aws.log.group.names" where
AWS_LOG_GROUP_NAMES = Text -> Key (AttrVals Text)
forall a. Text -> Key a
Key Text
"aws.log.group.names"
pattern AWS_LOG_GROUP_ARNS :: Key (AttrVals Text)
pattern $mAWS_LOG_GROUP_ARNS :: forall {r}.
Key (AttrVals Text) -> ((# #) -> r) -> ((# #) -> r) -> r
$bAWS_LOG_GROUP_ARNS :: Key (AttrVals Text)
AWS_LOG_GROUP_ARNS <- Key "aws.log.group.arns" where
AWS_LOG_GROUP_ARNS = Text -> Key (AttrVals Text)
forall a. Text -> Key a
Key Text
"aws.log.group.arns"
pattern AWS_LOG_STREAM_NAMES :: Key (AttrVals Text)
pattern $mAWS_LOG_STREAM_NAMES :: forall {r}.
Key (AttrVals Text) -> ((# #) -> r) -> ((# #) -> r) -> r
$bAWS_LOG_STREAM_NAMES :: Key (AttrVals Text)
AWS_LOG_STREAM_NAMES <- Key "aws.log.stream.names" where
AWS_LOG_STREAM_NAMES = Text -> Key (AttrVals Text)
forall a. Text -> Key a
Key Text
"aws.log.stream.names"
pattern AWS_LOG_STREAM_ARNS :: Key (AttrVals Text)
pattern $mAWS_LOG_STREAM_ARNS :: forall {r}.
Key (AttrVals Text) -> ((# #) -> r) -> ((# #) -> r) -> r
$bAWS_LOG_STREAM_ARNS :: Key (AttrVals Text)
AWS_LOG_STREAM_ARNS <- Key "aws.log.stream.arns" where
AWS_LOG_STREAM_ARNS = Text -> Key (AttrVals Text)
forall a. Text -> Key a
Key Text
"aws.log.stream.arns"
pattern CONTAINER_NAME :: Key Text
pattern $mCONTAINER_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bCONTAINER_NAME :: Key Text
CONTAINER_NAME <- Key "container.name" where
CONTAINER_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"container.name"
pattern CONTAINER_ID :: Key Text
pattern $mCONTAINER_ID :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bCONTAINER_ID :: Key Text
CONTAINER_ID <- Key "container.id" where
CONTAINER_ID = Text -> Key Text
forall a. Text -> Key a
Key Text
"container.id"
pattern CONTAINER_RUNTIME :: Key Text
pattern $mCONTAINER_RUNTIME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bCONTAINER_RUNTIME :: Key Text
CONTAINER_RUNTIME <- Key "container.runtime" where
CONTAINER_RUNTIME = Text -> Key Text
forall a. Text -> Key a
Key Text
"container.runtime"
pattern CONTAINER_IMAGE_NAME :: Key Text
pattern $mCONTAINER_IMAGE_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bCONTAINER_IMAGE_NAME :: Key Text
CONTAINER_IMAGE_NAME <- Key "container.image.name" where
CONTAINER_IMAGE_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"container.image.name"
pattern CONTAINER_IMAGE_TAG :: Key Text
pattern $mCONTAINER_IMAGE_TAG :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bCONTAINER_IMAGE_TAG :: Key Text
CONTAINER_IMAGE_TAG <- Key "container.image.tag" where
CONTAINER_IMAGE_TAG = Text -> Key Text
forall a. Text -> Key a
Key Text
"container.image.tag"
pattern DEPLOYMENT_ENVIRONMENT :: Key Text
pattern $mDEPLOYMENT_ENVIRONMENT :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bDEPLOYMENT_ENVIRONMENT :: Key Text
DEPLOYMENT_ENVIRONMENT <- Key "deployment.environment" where
DEPLOYMENT_ENVIRONMENT = Text -> Key Text
forall a. Text -> Key a
Key Text
"deployment.environment"
pattern DEVICE_ID :: Key Text
pattern $mDEVICE_ID :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bDEVICE_ID :: Key Text
DEVICE_ID <- Key "device.id" where
DEVICE_ID = Text -> Key Text
forall a. Text -> Key a
Key Text
"device.id"
pattern DEVICE_MODEL_IDENTIFIER :: Key Text
pattern $mDEVICE_MODEL_IDENTIFIER :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bDEVICE_MODEL_IDENTIFIER :: Key Text
DEVICE_MODEL_IDENTIFIER <- Key "device.model.identifier" where
DEVICE_MODEL_IDENTIFIER = Text -> Key Text
forall a. Text -> Key a
Key Text
"device.model.identifier"
pattern DEVICE_MODEL_NAME :: Key Text
pattern $mDEVICE_MODEL_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bDEVICE_MODEL_NAME :: Key Text
DEVICE_MODEL_NAME <- Key "device.model.name" where
DEVICE_MODEL_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"device.model.name"
pattern DEVICE_MANUFACTURER :: Key Text
pattern $mDEVICE_MANUFACTURER :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bDEVICE_MANUFACTURER :: Key Text
DEVICE_MANUFACTURER <- Key "device.manufacturer" where
DEVICE_MANUFACTURER = Text -> Key Text
forall a. Text -> Key a
Key Text
"device.manufacturer"
pattern FAAS_NAME :: Key Text
pattern $mFAAS_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bFAAS_NAME :: Key Text
FAAS_NAME <- Key "faas.name" where
FAAS_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"faas.name"
pattern FAAS_ID :: Key Text
pattern $mFAAS_ID :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bFAAS_ID :: Key Text
FAAS_ID <- Key "faas.id" where
FAAS_ID = Text -> Key Text
forall a. Text -> Key a
Key Text
"faas.id"
pattern FAAS_VERSION :: Key Text
pattern $mFAAS_VERSION :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bFAAS_VERSION :: Key Text
FAAS_VERSION <- Key "faas.version" where
FAAS_VERSION = Text -> Key Text
forall a. Text -> Key a
Key Text
"faas.version"
pattern FAAS_INSTANCE :: Key Text
pattern $mFAAS_INSTANCE :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bFAAS_INSTANCE :: Key Text
FAAS_INSTANCE <- Key "faas.instance" where
FAAS_INSTANCE = Text -> Key Text
forall a. Text -> Key a
Key Text
"faas.instance"
pattern FAAS_MAX_MEMORY :: Key Int64
pattern $mFAAS_MAX_MEMORY :: forall {r}. Key Int64 -> ((# #) -> r) -> ((# #) -> r) -> r
$bFAAS_MAX_MEMORY :: Key Int64
FAAS_MAX_MEMORY <- Key "faas.max_memory" where
FAAS_MAX_MEMORY = Text -> Key Int64
forall a. Text -> Key a
Key Text
"faas.max_memory"
pattern HOST_ID :: Key Text
pattern $mHOST_ID :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bHOST_ID :: Key Text
HOST_ID <- Key "host.id" where
HOST_ID = Text -> Key Text
forall a. Text -> Key a
Key Text
"host.id"
pattern HOST_NAME :: Key Text
pattern $mHOST_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bHOST_NAME :: Key Text
HOST_NAME <- Key "host.name" where
HOST_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"host.name"
pattern HOST_TYPE :: Key Text
pattern $mHOST_TYPE :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bHOST_TYPE :: Key Text
HOST_TYPE <- Key "host.type" where
HOST_TYPE = Text -> Key Text
forall a. Text -> Key a
Key Text
"host.type"
pattern HOST_ARCH :: Key Text
pattern $mHOST_ARCH :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bHOST_ARCH :: Key Text
HOST_ARCH <- Key "host.arch" where
HOST_ARCH = Text -> Key Text
forall a. Text -> Key a
Key Text
"host.arch"
pattern HOST_IMAGE_NAME :: Key Text
pattern $mHOST_IMAGE_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bHOST_IMAGE_NAME :: Key Text
HOST_IMAGE_NAME <- Key "host.image.name" where
HOST_IMAGE_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"host.image.name"
pattern HOST_IMAGE_ID :: Key Text
pattern $mHOST_IMAGE_ID :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bHOST_IMAGE_ID :: Key Text
HOST_IMAGE_ID <- Key "host.image.id" where
HOST_IMAGE_ID = Text -> Key Text
forall a. Text -> Key a
Key Text
"host.image.id"
pattern HOST_IMAGE_VERSION :: Key Text
pattern $mHOST_IMAGE_VERSION :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bHOST_IMAGE_VERSION :: Key Text
HOST_IMAGE_VERSION <- Key "host.image.version" where
HOST_IMAGE_VERSION = Text -> Key Text
forall a. Text -> Key a
Key Text
"host.image.version"
pattern K8S_CLUSTER_NAME :: Key Text
pattern $mK8S_CLUSTER_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bK8S_CLUSTER_NAME :: Key Text
K8S_CLUSTER_NAME <- Key "k8s.cluster.name" where
K8S_CLUSTER_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"k8s.cluster.name"
pattern K8S_NODE_NAME :: Key Text
pattern $mK8S_NODE_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bK8S_NODE_NAME :: Key Text
K8S_NODE_NAME <- Key "k8s.node.name" where
K8S_NODE_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"k8s.node.name"
pattern K8S_NODE_UID :: Key Text
pattern $mK8S_NODE_UID :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bK8S_NODE_UID :: Key Text
K8S_NODE_UID <- Key "k8s.node.uid" where
K8S_NODE_UID = Text -> Key Text
forall a. Text -> Key a
Key Text
"k8s.node.uid"
pattern K8S_NAMESPACE_NAME :: Key Text
pattern $mK8S_NAMESPACE_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bK8S_NAMESPACE_NAME :: Key Text
K8S_NAMESPACE_NAME <- Key "k8s.namespace.name" where
K8S_NAMESPACE_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"k8s.namespace.name"
pattern K8S_POD_UID :: Key Text
pattern $mK8S_POD_UID :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bK8S_POD_UID :: Key Text
K8S_POD_UID <- Key "k8s.pod.uid" where
K8S_POD_UID = Text -> Key Text
forall a. Text -> Key a
Key Text
"k8s.pod.uid"
pattern K8S_POD_NAME :: Key Text
pattern $mK8S_POD_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bK8S_POD_NAME :: Key Text
K8S_POD_NAME <- Key "k8s.pod.name" where
K8S_POD_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"k8s.pod.name"
pattern K8S_CONTAINER_NAME :: Key Text
pattern $mK8S_CONTAINER_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bK8S_CONTAINER_NAME :: Key Text
K8S_CONTAINER_NAME <- Key "k8s.container.name" where
K8S_CONTAINER_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"k8s.container.name"
pattern K8S_CONTAINER_RESTART_COUNT :: Key Int64
pattern $mK8S_CONTAINER_RESTART_COUNT :: forall {r}. Key Int64 -> ((# #) -> r) -> ((# #) -> r) -> r
$bK8S_CONTAINER_RESTART_COUNT :: Key Int64
K8S_CONTAINER_RESTART_COUNT <- Key "k8s.container.restart_count" where
K8S_CONTAINER_RESTART_COUNT = Text -> Key Int64
forall a. Text -> Key a
Key Text
"k8s.container.restart_count"
pattern K8S_REPLICASET_UID :: Key Text
pattern $mK8S_REPLICASET_UID :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bK8S_REPLICASET_UID :: Key Text
K8S_REPLICASET_UID <- Key "k8s.replicaset.uid" where
K8S_REPLICASET_UID = Text -> Key Text
forall a. Text -> Key a
Key Text
"k8s.replicaset.uid"
pattern K8S_REPLICASET_NAME :: Key Text
pattern $mK8S_REPLICASET_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bK8S_REPLICASET_NAME :: Key Text
K8S_REPLICASET_NAME <- Key "k8s.replicaset.name" where
K8S_REPLICASET_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"k8s.replicaset.name"
pattern K8S_DEPLOYMENT_UID :: Key Text
pattern $mK8S_DEPLOYMENT_UID :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bK8S_DEPLOYMENT_UID :: Key Text
K8S_DEPLOYMENT_UID <- Key "k8s.deployment.uid" where
K8S_DEPLOYMENT_UID = Text -> Key Text
forall a. Text -> Key a
Key Text
"k8s.deployment.uid"
pattern K8S_DEPLOYMENT_NAME :: Key Text
pattern $mK8S_DEPLOYMENT_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bK8S_DEPLOYMENT_NAME :: Key Text
K8S_DEPLOYMENT_NAME <- Key "k8s.deployment.name" where
K8S_DEPLOYMENT_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"k8s.deployment.name"
pattern K8S_STATEFULSET_UID :: Key Text
pattern $mK8S_STATEFULSET_UID :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bK8S_STATEFULSET_UID :: Key Text
K8S_STATEFULSET_UID <- Key "k8s.statefulset.uid" where
K8S_STATEFULSET_UID = Text -> Key Text
forall a. Text -> Key a
Key Text
"k8s.statefulset.uid"
pattern K8S_STATEFULSET_NAME :: Key Text
pattern $mK8S_STATEFULSET_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bK8S_STATEFULSET_NAME :: Key Text
K8S_STATEFULSET_NAME <- Key "k8s.statefulset.name" where
K8S_STATEFULSET_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"k8s.statefulset.name"
pattern K8S_DAEMONSET_UID :: Key Text
pattern $mK8S_DAEMONSET_UID :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bK8S_DAEMONSET_UID :: Key Text
K8S_DAEMONSET_UID <- Key "k8s.daemonset.uid" where
K8S_DAEMONSET_UID = Text -> Key Text
forall a. Text -> Key a
Key Text
"k8s.daemonset.uid"
pattern K8S_DAEMONSET_NAME :: Key Text
pattern $mK8S_DAEMONSET_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bK8S_DAEMONSET_NAME :: Key Text
K8S_DAEMONSET_NAME <- Key "k8s.daemonset.name" where
K8S_DAEMONSET_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"k8s.daemonset.name"
pattern K8S_JOB_UID :: Key Text
pattern $mK8S_JOB_UID :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bK8S_JOB_UID :: Key Text
K8S_JOB_UID <- Key "k8s.job.uid" where
K8S_JOB_UID = Text -> Key Text
forall a. Text -> Key a
Key Text
"k8s.job.uid"
pattern K8S_JOB_NAME :: Key Text
pattern $mK8S_JOB_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bK8S_JOB_NAME :: Key Text
K8S_JOB_NAME <- Key "k8s.job.name" where
K8S_JOB_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"k8s.job.name"
pattern K8S_CRONJOB_UID :: Key Text
pattern $mK8S_CRONJOB_UID :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bK8S_CRONJOB_UID :: Key Text
K8S_CRONJOB_UID <- Key "k8s.cronjob.uid" where
K8S_CRONJOB_UID = Text -> Key Text
forall a. Text -> Key a
Key Text
"k8s.cronjob.uid"
pattern K8S_CRONJOB_NAME :: Key Text
pattern $mK8S_CRONJOB_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bK8S_CRONJOB_NAME :: Key Text
K8S_CRONJOB_NAME <- Key "k8s.cronjob.name" where
K8S_CRONJOB_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"k8s.cronjob.name"
pattern OS_TYPE :: Key Text
pattern $mOS_TYPE :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bOS_TYPE :: Key Text
OS_TYPE <- Key "os.type" where
OS_TYPE = Text -> Key Text
forall a. Text -> Key a
Key Text
"os.type"
pattern OS_DESCRIPTION :: Key Text
pattern $mOS_DESCRIPTION :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bOS_DESCRIPTION :: Key Text
OS_DESCRIPTION <- Key "os.description" where
OS_DESCRIPTION = Text -> Key Text
forall a. Text -> Key a
Key Text
"os.description"
pattern OS_NAME :: Key Text
pattern $mOS_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bOS_NAME :: Key Text
OS_NAME <- Key "os.name" where
OS_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"os.name"
pattern OS_VERSION :: Key Text
pattern $mOS_VERSION :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bOS_VERSION :: Key Text
OS_VERSION <- Key "os.version" where
OS_VERSION = Text -> Key Text
forall a. Text -> Key a
Key Text
"os.version"
pattern PROCESS_PID :: Key Int64
pattern $mPROCESS_PID :: forall {r}. Key Int64 -> ((# #) -> r) -> ((# #) -> r) -> r
$bPROCESS_PID :: Key Int64
PROCESS_PID <- Key "process.pid" where
PROCESS_PID = Text -> Key Int64
forall a. Text -> Key a
Key Text
"process.pid"
pattern PROCESS_EXECUTABLE_NAME :: Key Text
pattern $mPROCESS_EXECUTABLE_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bPROCESS_EXECUTABLE_NAME :: Key Text
PROCESS_EXECUTABLE_NAME <- Key "process.executable.name" where
PROCESS_EXECUTABLE_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"process.executable.name"
pattern PROCESS_EXECUTABLE_PATH :: Key Text
pattern $mPROCESS_EXECUTABLE_PATH :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bPROCESS_EXECUTABLE_PATH :: Key Text
PROCESS_EXECUTABLE_PATH <- Key "process.executable.path" where
PROCESS_EXECUTABLE_PATH = Text -> Key Text
forall a. Text -> Key a
Key Text
"process.executable.path"
pattern PROCESS_COMMAND :: Key Text
pattern $mPROCESS_COMMAND :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bPROCESS_COMMAND :: Key Text
PROCESS_COMMAND <- Key "process.command" where
PROCESS_COMMAND = Text -> Key Text
forall a. Text -> Key a
Key Text
"process.command"
pattern PROCESS_COMMAND_LINE :: Key Text
pattern $mPROCESS_COMMAND_LINE :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bPROCESS_COMMAND_LINE :: Key Text
PROCESS_COMMAND_LINE <- Key "process.command_line" where
PROCESS_COMMAND_LINE = Text -> Key Text
forall a. Text -> Key a
Key Text
"process.command_line"
pattern PROCESS_COMMAND_ARGS :: Key (AttrVals Text)
pattern $mPROCESS_COMMAND_ARGS :: forall {r}.
Key (AttrVals Text) -> ((# #) -> r) -> ((# #) -> r) -> r
$bPROCESS_COMMAND_ARGS :: Key (AttrVals Text)
PROCESS_COMMAND_ARGS <- Key "process.command_args" where
PROCESS_COMMAND_ARGS = Text -> Key (AttrVals Text)
forall a. Text -> Key a
Key Text
"process.command_args"
pattern PROCESS_OWNER :: Key Text
pattern $mPROCESS_OWNER :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bPROCESS_OWNER :: Key Text
PROCESS_OWNER <- Key "process.owner" where
PROCESS_OWNER = Text -> Key Text
forall a. Text -> Key a
Key Text
"process.owner"
pattern PROCESS_RUNTIME_NAME :: Key Text
pattern $mPROCESS_RUNTIME_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bPROCESS_RUNTIME_NAME :: Key Text
PROCESS_RUNTIME_NAME <- Key "process.runtime.name" where
PROCESS_RUNTIME_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"process.runtime.name"
pattern PROCESS_RUNTIME_VERSION :: Key Text
pattern $mPROCESS_RUNTIME_VERSION :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bPROCESS_RUNTIME_VERSION :: Key Text
PROCESS_RUNTIME_VERSION <- Key "process.runtime.version" where
PROCESS_RUNTIME_VERSION = Text -> Key Text
forall a. Text -> Key a
Key Text
"process.runtime.version"
pattern PROCESS_RUNTIME_DESCRIPTION :: Key Text
pattern $mPROCESS_RUNTIME_DESCRIPTION :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bPROCESS_RUNTIME_DESCRIPTION :: Key Text
PROCESS_RUNTIME_DESCRIPTION <- Key "process.runtime.description" where
PROCESS_RUNTIME_DESCRIPTION = Text -> Key Text
forall a. Text -> Key a
Key Text
"process.runtime.description"
pattern SERVICE_NAME :: Key Text
pattern $mSERVICE_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bSERVICE_NAME :: Key Text
SERVICE_NAME <- Key "service.name" where
SERVICE_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"service.name"
pattern SERVICE_NAMESPACE :: Key Text
pattern $mSERVICE_NAMESPACE :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bSERVICE_NAMESPACE :: Key Text
SERVICE_NAMESPACE <- Key "service.namespace" where
SERVICE_NAMESPACE = Text -> Key Text
forall a. Text -> Key a
Key Text
"service.namespace"
pattern SERVICE_INSTANCE_ID :: Key Text
pattern $mSERVICE_INSTANCE_ID :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bSERVICE_INSTANCE_ID :: Key Text
SERVICE_INSTANCE_ID <- Key "service.instance.id" where
SERVICE_INSTANCE_ID = Text -> Key Text
forall a. Text -> Key a
Key Text
"service.instance.id"
pattern SERVICE_VERSION :: Key Text
pattern $mSERVICE_VERSION :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bSERVICE_VERSION :: Key Text
SERVICE_VERSION <- Key "service.version" where
SERVICE_VERSION = Text -> Key Text
forall a. Text -> Key a
Key Text
"service.version"
pattern TELEMETRY_SDK_NAME :: Key Text
pattern $mTELEMETRY_SDK_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bTELEMETRY_SDK_NAME :: Key Text
TELEMETRY_SDK_NAME <- Key "telemetry.sdk.name" where
TELEMETRY_SDK_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"telemetry.sdk.name"
pattern TELEMETRY_SDK_LANGUAGE :: Key Text
pattern $mTELEMETRY_SDK_LANGUAGE :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bTELEMETRY_SDK_LANGUAGE :: Key Text
TELEMETRY_SDK_LANGUAGE <- Key "telemetry.sdk.language" where
TELEMETRY_SDK_LANGUAGE = Text -> Key Text
forall a. Text -> Key a
Key Text
"telemetry.sdk.language"
pattern TELEMETRY_SDK_VERSION :: Key Text
pattern $mTELEMETRY_SDK_VERSION :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bTELEMETRY_SDK_VERSION :: Key Text
TELEMETRY_SDK_VERSION <- Key "telemetry.sdk.version" where
TELEMETRY_SDK_VERSION = Text -> Key Text
forall a. Text -> Key a
Key Text
"telemetry.sdk.version"
pattern TELEMETRY_AUTO_VERSION :: Key Text
pattern $mTELEMETRY_AUTO_VERSION :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bTELEMETRY_AUTO_VERSION :: Key Text
TELEMETRY_AUTO_VERSION <- Key "telemetry.auto.version" where
TELEMETRY_AUTO_VERSION = Text -> Key Text
forall a. Text -> Key a
Key Text
"telemetry.auto.version"
pattern WEBENGINE_NAME :: Key Text
pattern $mWEBENGINE_NAME :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bWEBENGINE_NAME :: Key Text
WEBENGINE_NAME <- Key "webengine.name" where
WEBENGINE_NAME = Text -> Key Text
forall a. Text -> Key a
Key Text
"webengine.name"
pattern WEBENGINE_VERSION :: Key Text
pattern $mWEBENGINE_VERSION :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bWEBENGINE_VERSION :: Key Text
WEBENGINE_VERSION <- Key "webengine.version" where
WEBENGINE_VERSION = Text -> Key Text
forall a. Text -> Key a
Key Text
"webengine.version"
pattern WEBENGINE_DESCRIPTION :: Key Text
pattern $mWEBENGINE_DESCRIPTION :: forall {r}. Key Text -> ((# #) -> r) -> ((# #) -> r) -> r
$bWEBENGINE_DESCRIPTION :: Key Text
WEBENGINE_DESCRIPTION <- Key "webengine.description" where
WEBENGINE_DESCRIPTION = Text -> Key Text
forall a. Text -> Key a
Key Text
"webengine.description"
data CloudProvider
= CloudProviderAlibabaCloud
| CloudProviderAws
| CloudProviderAzure
| CloudProviderGcp
| CloudProviderTencentCloud
instance ToAttrVal CloudProvider Text where
toAttrVal :: CloudProvider -> Text
toAttrVal = \case
CloudProvider
CloudProviderAlibabaCloud -> Text
"alibaba_cloud"
CloudProvider
CloudProviderAws -> Text
"aws"
CloudProvider
CloudProviderAzure -> Text
"azure"
CloudProvider
CloudProviderGcp -> Text
"gcp"
CloudProvider
CloudProviderTencentCloud -> Text
"tencent_cloud"
data CloudPlatform
= CloudPlatformAlibabaCloudEcs
| CloudPlatformAlibabaCloudFc
| CloudPlatformAwsEc2
| CloudPlatformAwsEcs
| CloudPlatformAwsEks
| CloudPlatformAwsLambda
| CloudPlatformAwsElasticBeanstalk
| CloudPlatformAwsAppRunner
| CloudPlatformAzureVm
| CloudPlatformAzureContainerInstances
| CloudPlatformAzureAks
| CloudPlatformAzureFunctions
| CloudPlatformAzureAppService
| CloudPlatformGcpComputeEngine
| CloudPlatformGcpCloudRun
| CloudPlatformGcpKubernetesEngine
| CloudPlatformGcpCloudFunctions
| CloudPlatformGcpAppEngine
| CloudPlatformTencentCloudCvm
| CloudPlatformTencentCloudEks
| CloudPlatformTencentCloudScf
instance ToAttrVal CloudPlatform Text where
toAttrVal :: CloudPlatform -> Text
toAttrVal = \case
CloudPlatform
CloudPlatformAlibabaCloudEcs -> Text
"alibaba_cloud_ecs"
CloudPlatform
CloudPlatformAlibabaCloudFc -> Text
"alibaba_cloud_fc"
CloudPlatform
CloudPlatformAwsEc2 -> Text
"aws_ec2"
CloudPlatform
CloudPlatformAwsEcs -> Text
"aws_ecs"
CloudPlatform
CloudPlatformAwsEks -> Text
"aws_eks"
CloudPlatform
CloudPlatformAwsLambda -> Text
"aws_lambda"
CloudPlatform
CloudPlatformAwsElasticBeanstalk -> Text
"aws_elastic_beanstalk"
CloudPlatform
CloudPlatformAwsAppRunner -> Text
"aws_app_runner"
CloudPlatform
CloudPlatformAzureVm -> Text
"azure_vm"
CloudPlatform
CloudPlatformAzureContainerInstances -> Text
"azure_container_instances"
CloudPlatform
CloudPlatformAzureAks -> Text
"azure_aks"
CloudPlatform
CloudPlatformAzureFunctions -> Text
"azure_functions"
CloudPlatform
CloudPlatformAzureAppService -> Text
"azure_app_service"
CloudPlatform
CloudPlatformGcpComputeEngine -> Text
"gcp_compute_engine"
CloudPlatform
CloudPlatformGcpCloudRun -> Text
"gcp_cloud_run"
CloudPlatform
CloudPlatformGcpKubernetesEngine -> Text
"gcp_kubernetes_engine"
CloudPlatform
CloudPlatformGcpCloudFunctions -> Text
"gcp_cloud_functions"
CloudPlatform
CloudPlatformGcpAppEngine -> Text
"gcp_app_engine"
CloudPlatform
CloudPlatformTencentCloudCvm -> Text
"tencent_cloud_cvm"
CloudPlatform
CloudPlatformTencentCloudEks -> Text
"tencent_cloud_eks"
CloudPlatform
CloudPlatformTencentCloudScf -> Text
"tencent_cloud_scf"
data AwsEcsLaunchtype
= AwsEcsLaunchtypeEc2
| AwsEcsLaunchtypeFargate
instance ToAttrVal AwsEcsLaunchtype Text where
toAttrVal :: AwsEcsLaunchtype -> Text
toAttrVal = \case
AwsEcsLaunchtype
AwsEcsLaunchtypeEc2 -> Text
"ec2"
AwsEcsLaunchtype
AwsEcsLaunchtypeFargate -> Text
"fargate"
data HostArch
= HostArchAmd64
| HostArchArm32
| HostArchArm64
| HostArchIa64
| HostArchPpc32
| HostArchPpc64
| HostArchS390x
| HostArchX86
instance ToAttrVal HostArch Text where
toAttrVal :: HostArch -> Text
toAttrVal = \case
HostArch
HostArchAmd64 -> Text
"amd64"
HostArch
HostArchArm32 -> Text
"arm32"
HostArch
HostArchArm64 -> Text
"arm64"
HostArch
HostArchIa64 -> Text
"ia64"
HostArch
HostArchPpc32 -> Text
"ppc32"
HostArch
HostArchPpc64 -> Text
"ppc64"
HostArch
HostArchS390x -> Text
"s390x"
HostArch
HostArchX86 -> Text
"x86"
data OsType
= OsTypeWindows
| OsTypeLinux
| OsTypeDarwin
| OsTypeFreebsd
| OsTypeNetbsd
| OsTypeOpenbsd
| OsTypeDragonflybsd
| OsTypeHpux
| OsTypeAix
| OsTypeSolaris
| OsTypeZOs
instance ToAttrVal OsType Text where
toAttrVal :: OsType -> Text
toAttrVal = \case
OsType
OsTypeWindows -> Text
"windows"
OsType
OsTypeLinux -> Text
"linux"
OsType
OsTypeDarwin -> Text
"darwin"
OsType
OsTypeFreebsd -> Text
"freebsd"
OsType
OsTypeNetbsd -> Text
"netbsd"
OsType
OsTypeOpenbsd -> Text
"openbsd"
OsType
OsTypeDragonflybsd -> Text
"dragonflybsd"
OsType
OsTypeHpux -> Text
"hpux"
OsType
OsTypeAix -> Text
"aix"
OsType
OsTypeSolaris -> Text
"solaris"
OsType
OsTypeZOs -> Text
"z_os"
data TelemetrySdkLanguage
= TelemetrySdkLanguageCpp
| TelemetrySdkLanguageDotnet
| TelemetrySdkLanguageErlang
| TelemetrySdkLanguageGo
| TelemetrySdkLanguageJava
| TelemetrySdkLanguageNodejs
| TelemetrySdkLanguagePhp
| TelemetrySdkLanguagePython
| TelemetrySdkLanguageRuby
| TelemetrySdkLanguageWebjs
| TelemetrySdkLanguageSwift
instance ToAttrVal TelemetrySdkLanguage Text where
toAttrVal :: TelemetrySdkLanguage -> Text
toAttrVal = \case
TelemetrySdkLanguage
TelemetrySdkLanguageCpp -> Text
"cpp"
TelemetrySdkLanguage
TelemetrySdkLanguageDotnet -> Text
"dotnet"
TelemetrySdkLanguage
TelemetrySdkLanguageErlang -> Text
"erlang"
TelemetrySdkLanguage
TelemetrySdkLanguageGo -> Text
"go"
TelemetrySdkLanguage
TelemetrySdkLanguageJava -> Text
"java"
TelemetrySdkLanguage
TelemetrySdkLanguageNodejs -> Text
"nodejs"
TelemetrySdkLanguage
TelemetrySdkLanguagePhp -> Text
"php"
TelemetrySdkLanguage
TelemetrySdkLanguagePython -> Text
"python"
TelemetrySdkLanguage
TelemetrySdkLanguageRuby -> Text
"ruby"
TelemetrySdkLanguage
TelemetrySdkLanguageWebjs -> Text
"webjs"
TelemetrySdkLanguage
TelemetrySdkLanguageSwift -> Text
"swift"