hs-opentelemetry-api-0.1.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.Cloud

Description

Cloud resource detection

Synopsis

Documentation

data Cloud Source #

A cloud infrastructure (e.g. GCP, Azure, AWS).

Constructors

Cloud 

Fields

  • cloudProvider :: Maybe Text

    Name of the cloud provider.

    Examples: alibaba_cloud

    cloud.provider MUST be one of the following or, if none of the listed values apply, a custom value:

    ValueDescription
    alibaba_cloudAlibaba Cloud
    awsAmazon Web Services
    azureMicrosoft Azure
    gcpGoogle Cloud Platform
    tencent_cloudTencent Cloud
  • cloudAccountId :: Maybe Text

    The cloud account ID the resource is assigned to.

  • cloudRegion :: Maybe Text

    The geographical region the resource is running.

  • cloudAvailabilityZone :: Maybe Text

    Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running.

  • cloudPlatform :: Maybe Text

    The cloud platform in use.

    Example: alibaba_cloud_ecs

    MUST be one of the following or, if none of the listed values apply, a custom value:

    ValueDescription
    alibaba_cloud_ecsAlibaba Cloud Elastic Compute Service
    alibaba_cloud_fcAlibaba Cloud Function Compute
    aws_ec2AWS Elastic Compute Cloud
    aws_ecsAWS Elastic Container Service
    aws_eksAWS Elastic Kubernetes Service
    aws_lambdaAWS Lambda
    aws_elastic_beanstalkAWS Elastic Beanstalk
    aws_app_runnerAWS App Runner
    azure_vmAzure Virtual Machines
    azure_container_instancesAzure Container Instances
    azure_aksAzure Kubernetes Service
    azure_functionsAzure Functions
    azure_app_serviceAzure App Service
    gcp_compute_engineGoogle Cloud Compute Engine (GCE)
    gcp_cloud_runGoogle Cloud Run
    gcp_kubernetes_engineGoogle Cloud Kubernetes Engine (GKE)
    gcp_cloud_functionsGoogle Cloud Functions (GCF)
    gcp_app_engineGoogle Cloud App Engine (GAE)
    tencent_cloud_cvmTencent Cloud Cloud Virtual Machine (CVM)
    tencent_cloud_eksTencent Cloud Elastic Kubernetes Service (EKS)
    tencent_cloud_scfTencent Cloud Serverless Cloud Function (SCF)

Instances

Instances details
ToResource Cloud Source # 
Instance details

Defined in OpenTelemetry.Resource.Cloud

Associated Types

type ResourceSchema Cloud :: Maybe Symbol Source #

type ResourceSchema Cloud Source # 
Instance details

Defined in OpenTelemetry.Resource.Cloud