Skip to content
semconv.com
↑↓ move↵ openUse with your agent →

Cloud and serverless

as of v1.45.0

Where the code runs: the provider, the region, the account, and the function invoking it.

aws 52gcp 31faas 18azure 14cloudfoundry 11cloud 6heroku 3az 2oracle_cloud 1

Attributes
138
Metrics
11
Signals
29
Stable
0
Deprecated
4

Signals

What this domain emits, and the attributes each one carries, most strongly required first. An attribute marked * is required on that signal; * is conditionally required.

Spans 7

Events 3

Entities 19

Metrics 11

  • azure.cosmosdb.client.active_instance.count
    Developmentupdowncounter · {instance}Number of active client instances.
  • azure.cosmosdb.client.operation.request_charge
    Developmenthistogram · {request_unit}Request units consumed by the operation.
  • faas.coldstarts
    Developmentcounter · {coldstart}Number of invocation cold starts.
  • faas.cpu_usage
    Developmenthistogram · sDistribution of CPU usage per invocation.
  • faas.errors
    Developmentcounter · {error}Number of invocation errors.
  • faas.init_duration
    Developmenthistogram · sMeasures the duration of the function's initialization, such as a cold start.
  • faas.invocations
    Developmentcounter · {invocation}Number of successful invocations.
  • faas.invoke_duration
    Developmenthistogram · sMeasures the duration of the function's logic execution.
  • faas.mem_usage
    Developmenthistogram · ByDistribution of max memory usage per invocation.
  • faas.net_io
    Developmenthistogram · ByDistribution of net I/O usage per invocation.
  • faas.timeouts
    Developmentcounter · {timeout}Number of invocation timeouts.

Specification

  • Spansare bound by the trace specification — 312 requirements across 8 documents, 176 of them MUST or SHALL.
  • Metricsare bound by the metrics specification — 569 requirements across 8 documents, 296 of them MUST or SHALL.
  • Eventsare bound by the logs specification — 163 requirements across 5 documents, 84 of them MUST or SHALL.
  • Entitiesare bound by the entities specification — 54 requirements across 3 documents, 24 of them MUST or SHALL.

Requirements that name this domain 5

  • SHOULDForceFlushStable

    ForceFlush SHOULD only be called in cases where it is absolutely necessary, such as when using some FaaS providers that may suspend the process after an invocation, but before the LogRecordProcessor exports the emitted LogRecords.

  • SHOULDForceFlushStable

    ForceFlush SHOULD only be called in cases where it is absolutely necessary, such as when using some FaaS providers that may suspend the process after an invocation, but before the exporter exports the ReadlableLogRecords.

  • SHOULDForceFlush()Stable

    ForceFlush SHOULD only be called in cases where it is absolutely necessary, such as when using some FaaS providers that may suspend the process after an invocation, but before the SpanProcessor exports the completed spans.

  • SHOULD`ForceFlush()`Stable

    ForceFlush SHOULD only be called in cases where it is absolutely necessary, such as when using some FaaS providers that may suspend the process after an invocation, but before the exporter exports the completed spans.

  • SHOULDForceFlushMixed

    ForceFlush SHOULD only be called in cases where it is absolutely necessary, such as when using some FaaS providers that may suspend the process after an invocation, but before the exporter exports the completed metrics.

On the wire, this lands in trace/v1/trace, metrics/v1/metrics, logs/v1/logs, resource/v1/resource. Field-by-field definitions are under OTLP.

Attributes 138

aws52 attributes

gcp31 attributes

faas18 attributes

  • faas.coldstart
    DevelopmentA boolean that is true if the serverless function is executed for the first time (aka cold-start).
  • faas.cron
    DevelopmentA string containing the schedule period as Cron Expression.
  • faas.document.collection
    DevelopmentThe name of the source on which the triggering operation was performed. For example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to
  • faas.document.name
    DevelopmentThe document name/table subjected to the operation. For example, in Cloud Storage or S3 is the name of the file, and in Cosmos DB the table name.
  • faas.document.operation
    DevelopmentDescribes the type of the operation that was performed on the data.
  • faas.document.time
    DevelopmentA string containing the time when the data was accessed in the ISO 8601 format expressed in UTC.
  • faas.instance
    DevelopmentThe execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version.
  • faas.invocation_id
    Deprecated→ faas.invocation.idThe invocation ID of the current function invocation.
  • faas.invocation.id
    DevelopmentThe invocation ID of the current function invocation.
  • faas.invocation.start_time
    DevelopmentA string containing the function invocation time in the ISO 8601 format expressed in UTC.
  • faas.invoked_name
    DevelopmentThe name of the invoked function.
  • faas.invoked_provider
    DevelopmentThe cloud provider of the invoked function.
  • faas.invoked_region
    DevelopmentThe cloud region of the invoked function.
  • faas.max_memory
    DevelopmentThe amount of memory available to the serverless function converted to Bytes.
  • faas.name
    DevelopmentThe name of the single function that this runtime instance executes.
  • faas.time
    Deprecated→ faas.invocation.start_timeA string containing the function invocation time in the ISO 8601 format expressed in UTC.
  • faas.trigger
    DevelopmentType of the trigger which caused this function invocation.
  • faas.version
    DevelopmentThe immutable version of the function being executed.

azure14 attributes

cloudfoundry11 attributes

cloud6 attributes

  • cloud.account.id
    DevelopmentThe cloud account ID the resource is assigned to.
  • cloud.availability_zone
    DevelopmentCloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is runni
  • cloud.platform
    DevelopmentThe cloud platform in use.
  • cloud.provider
    DevelopmentName of the cloud provider.
  • cloud.region
    DevelopmentThe geographical region within a cloud provider. When associated with a resource, this attribute specifies the region where the resource operates. When calling
  • cloud.resource_id
    DevelopmentCloud provider-specific native identifier of the monitored cloud resource (e.g. an ARN on AWS, a fully qualified resource ID on Azure, a full resource name on G

heroku3 attributes

az2 attributes

oracle_cloud1 attribute

  • oracle_cloud.realm
    DevelopmentThe OCI realm identifier that indicates the isolated partition in which the tenancy and its resources reside.

Recent changes

Breaking and notable changes to this domain across the last 6 semantic-conventions releases.

Topics are this site's grouping of upstream namespaces, not a structure the OpenTelemetry project publishes. JSON · All domains