FaasExperimentalAttributes

org.typelevel.otel4s.semconv.experimental.attributes.FaasExperimentalAttributes

Attributes

Source
FaasExperimentalAttributes.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

abstract class FaasDocumentOperationValue(val value: String)

Values for FaasDocumentOperation.

Values for FaasDocumentOperation.

Attributes

Companion
object
Source
FaasExperimentalAttributes.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Delete
object Edit
object Insert

Attributes

Companion
class
Source
FaasExperimentalAttributes.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class FaasInvokedProviderValue(val value: String)

Values for FaasInvokedProvider.

Values for FaasInvokedProvider.

Attributes

Companion
object
Source
FaasExperimentalAttributes.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AlibabaCloud
object Aws
object Azure
object Gcp
object TencentCloud

Attributes

Companion
class
Source
FaasExperimentalAttributes.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class FaasTriggerValue(val value: String)

Values for FaasTrigger.

Values for FaasTrigger.

Attributes

Companion
object
Source
FaasExperimentalAttributes.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Datasource
object Http
object Other
object Pubsub
object Timer

Attributes

Companion
class
Source
FaasExperimentalAttributes.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete fields

A boolean that is true if the serverless function is executed for the first time (aka cold-start).

A boolean that is true if the serverless function is executed for the first time (aka cold-start).

Attributes

Source
FaasExperimentalAttributes.scala

A string containing the schedule period as <a href="https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm">Cron Expression.

A string containing the schedule period as <a href="https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm">Cron Expression.

Attributes

Source
FaasExperimentalAttributes.scala

The name of the source on which the triggering operation was performed.

The 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 the database name.

Attributes

Source
FaasExperimentalAttributes.scala

The document name/table subjected to the operation.

The 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.

Attributes

Source
FaasExperimentalAttributes.scala

Describes the type of the operation that was performed on the data.

Describes the type of the operation that was performed on the data.

Attributes

Source
FaasExperimentalAttributes.scala

A string containing the time when the data was accessed in the <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601 format expressed in UTC.

A string containing the time when the data was accessed in the <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601 format expressed in UTC.

Attributes

Source
FaasExperimentalAttributes.scala

The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version.

The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version.

Attributes

Note

- AWS Lambda: Use the (full) log stream name.

Source
FaasExperimentalAttributes.scala

The invocation ID of the current function invocation.

The invocation ID of the current function invocation.

Attributes

Source
FaasExperimentalAttributes.scala

The name of the invoked function.

The name of the invoked function.

Attributes

Note

  • SHOULD be equal to the faas.name resource attribute of the invoked function.

Source
FaasExperimentalAttributes.scala

The cloud provider of the invoked function.

The cloud provider of the invoked function.

Attributes

Note

  • SHOULD be equal to the cloud.provider resource attribute of the invoked function.

Source
FaasExperimentalAttributes.scala

The cloud region of the invoked function.

The cloud region of the invoked function.

Attributes

Note

  • SHOULD be equal to the cloud.region resource attribute of the invoked function.

Source
FaasExperimentalAttributes.scala

The amount of memory available to the serverless function converted to Bytes.

The amount of memory available to the serverless function converted to Bytes.

Attributes

Note

  • It's recommended to set this attribute since e.g. too little memory can easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, the environment variable AWS_LAMBDA_FUNCTION_MEMORY_SIZE provides this information (which must be multiplied by 1,048,576).

Source
FaasExperimentalAttributes.scala

The name of the single function that this runtime instance executes.

The name of the single function that this runtime instance executes.

Attributes

Note

  • This is the name of the function as configured/deployed on the FaaS platform and is usually different from the name of the callback function (which may be stored in the <a href="/docs/general/attributes.md#source-code-attributes">code.namespace/code.function span attributes). - For some cloud providers, the above definition is ambiguous. The following definition of function name MUST be used for this attribute (and consequently the span name) for the listed cloud providers/products: - Azure: The full name ` / `, i.e., function app name followed by a forward slash followed by the function name (this form can also be seen in the resource JSON for the function). This means that a span attribute MUST be used, as an Azure function app can host multiple functions that would usually share a TracerProvider (see also the `cloud.resource_id` attribute).

Source
FaasExperimentalAttributes.scala

A string containing the function invocation time in the <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601 format expressed in UTC.

A string containing the function invocation time in the <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601 format expressed in UTC.

Attributes

Source
FaasExperimentalAttributes.scala

Type of the trigger which caused this function invocation.

Type of the trigger which caused this function invocation.

Attributes

Source
FaasExperimentalAttributes.scala

The immutable version of the function being executed.

The immutable version of the function being executed.

Attributes

Note

  • Depending on the cloud provider and platform, use: - AWS Lambda: The <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html">function version (an integer represented as a decimal string). - Google Cloud Run (Services): The revision (i.e., the function name plus the revision suffix). - Google Cloud Functions: The value of the <a href="https://cloud.google.com/functions/docs/env-var#runtime_environment_variables_set_automatically">K_REVISION environment variable. - Azure Functions: Not applicable. Do not set this attribute.

Source
FaasExperimentalAttributes.scala