semconv.com

Cloud and serverless

as of v1.44.0

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

aws 52gcp 27faas 16cloudfoundry 11azure 10cloud 6heroku 3az 2oracle_cloud 1

attributes
128
metrics
11
signals
43
stable
0
deprecated
2

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 23

Events 3

Entities 17

Metrics 11

Specification

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 128

aws52 attributes

gcp27 attributes

faas16 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
    DevelopmentThe invocation ID of the current function invocation.
  • 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
    DevelopmentA 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.

cloudfoundry11 attributes

azure10 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 attributes

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

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