Gcp Attributes

9 attributes in this category. 9 stable

Stable Attributes

gcp.function.context.event_id

string PII: Maybe Visibility: Public OTel: False

The event ID from the legacy GCP Cloud Function context (1st gen)

Example 1234567890
Changelog
v0.7.0 #371 Added gcp.function.context.event_id attribute
Raw JSON
{
  "key": "gcp.function.context.event_id",
  "brief": "The event ID from the legacy GCP Cloud Function context (1st gen)",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "1234567890",
  "changelog": [
    {
      "version": "0.7.0",
      "prs": [
        371
      ],
      "description": "Added gcp.function.context.event_id attribute"
    }
  ]
}

gcp.function.context.event_type

string PII: Maybe Visibility: Public OTel: False

The type of the GCP Cloud Function event

Example google.pubsub.topic.publish
Changelog
v0.7.0 #371 Added gcp.function.context.event_type attribute
Raw JSON
{
  "key": "gcp.function.context.event_type",
  "brief": "The type of the GCP Cloud Function event",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "google.pubsub.topic.publish",
  "changelog": [
    {
      "version": "0.7.0",
      "prs": [
        371
      ],
      "description": "Added gcp.function.context.event_type attribute"
    }
  ]
}

gcp.function.context.id

string PII: Maybe Visibility: Public OTel: False

The unique event ID from the GCP CloudEvents context (2nd gen Cloud Functions)

Example 1234567890
Changelog
v0.7.0 #371 Added gcp.function.context.id attribute
Raw JSON
{
  "key": "gcp.function.context.id",
  "brief": "The unique event ID from the GCP CloudEvents context (2nd gen Cloud Functions)",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "1234567890",
  "changelog": [
    {
      "version": "0.7.0",
      "prs": [
        371
      ],
      "description": "Added gcp.function.context.id attribute"
    }
  ]
}

gcp.function.context.resource

string PII: Maybe Visibility: Public OTel: False

The resource that triggered the GCP Cloud Function event

Example projects/my-project/topics/my-topic
Changelog
v0.7.0 #371 Added gcp.function.context.resource attribute
Raw JSON
{
  "key": "gcp.function.context.resource",
  "brief": "The resource that triggered the GCP Cloud Function event",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "projects/my-project/topics/my-topic",
  "changelog": [
    {
      "version": "0.7.0",
      "prs": [
        371
      ],
      "description": "Added gcp.function.context.resource attribute"
    }
  ]
}

gcp.function.context.source

string PII: Maybe Visibility: Public OTel: False

The source of the GCP Cloud Function event

Example //pubsub.googleapis.com/projects/my-project/topics/my-topic
Changelog
v0.7.0 #371 Added gcp.function.context.source attribute
Raw JSON
{
  "key": "gcp.function.context.source",
  "brief": "The source of the GCP Cloud Function event",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "//pubsub.googleapis.com/projects/my-project/topics/my-topic",
  "changelog": [
    {
      "version": "0.7.0",
      "prs": [
        371
      ],
      "description": "Added gcp.function.context.source attribute"
    }
  ]
}

gcp.function.context.specversion

string PII: Maybe Visibility: Public OTel: False

The CloudEvents specification version of the GCP Cloud Function event

Example 1.0
Changelog
v0.7.0 #371 Added gcp.function.context.specversion attribute
Raw JSON
{
  "key": "gcp.function.context.specversion",
  "brief": "The CloudEvents specification version of the GCP Cloud Function event",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "1.0",
  "changelog": [
    {
      "version": "0.7.0",
      "prs": [
        371
      ],
      "description": "Added gcp.function.context.specversion attribute"
    }
  ]
}

gcp.function.context.time

string PII: Maybe Visibility: Public OTel: False

The timestamp of the GCP Cloud Function event

Example 2024-01-01T00:00:00.000Z
Changelog
v0.7.0 #371 Added gcp.function.context.time attribute
Raw JSON
{
  "key": "gcp.function.context.time",
  "brief": "The timestamp of the GCP Cloud Function event",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "2024-01-01T00:00:00.000Z",
  "changelog": [
    {
      "version": "0.7.0",
      "prs": [
        371
      ],
      "description": "Added gcp.function.context.time attribute"
    }
  ]
}

gcp.function.context.timestamp

string PII: Maybe Visibility: Public OTel: False

The legacy timestamp of the GCP Cloud Function event

Example 2024-01-01T00:00:00.000Z
Changelog
v0.7.0 #371 Added gcp.function.context.timestamp attribute
Raw JSON
{
  "key": "gcp.function.context.timestamp",
  "brief": "The legacy timestamp of the GCP Cloud Function event",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "2024-01-01T00:00:00.000Z",
  "changelog": [
    {
      "version": "0.7.0",
      "prs": [
        371
      ],
      "description": "Added gcp.function.context.timestamp attribute"
    }
  ]
}

gcp.function.context.type

string PII: Maybe Visibility: Public OTel: False

The type of the GCP Cloud Function event context

Example cloud_functions.context
Changelog
v0.7.0 #371 Added gcp.function.context.type attribute
Raw JSON
{
  "key": "gcp.function.context.type",
  "brief": "The type of the GCP Cloud Function event context",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "cloud_functions.context",
  "changelog": [
    {
      "version": "0.7.0",
      "prs": [
        371
      ],
      "description": "Added gcp.function.context.type attribute"
    }
  ]
}