Heroku Attributes

7 attributes in this category.7 stable

7 attributes

Stable Attributes

heroku.dyno.name

stringScrub: ManualVisibility: PublicOTel: False

Name of the Heroku dyno serving the request or emitting telemetry

Examplesweb.1web-12a34bcd56-7efgh
Additional Context
  • A dyno name is distinct from the dyno ID or service.instance.id. Do not manufacture those identifiers from this value.
Changelog
v0.31.0#772Added heroku.dyno.name attribute
Raw JSON
{
  "key": "heroku.dyno.name",
  "brief": "Name of the Heroku dyno serving the request or emitting telemetry",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "examples": [
    "web.1",
    "web-12a34bcd56-7efgh"
  ],
  "additional_context": [
    "A dyno name is distinct from the dyno ID or service.instance.id. Do not manufacture those identifiers from this value."
  ],
  "changelog": [
    {
      "version": "0.31.0",
      "prs": [
        772
      ],
      "description": "Added heroku.dyno.name attribute"
    }
  ]
}

heroku.error.code

stringScrub: ManualVisibility: PublicOTel: False

Heroku error code reported by a router or platform log

ExamplesH12R14L10
Additional Context
  • Preserves the provider-specific code from the router code field or a platform error message.
Changelog
v0.31.0#772Added heroku.error.code attribute
Raw JSON
{
  "key": "heroku.error.code",
  "brief": "Heroku error code reported by a router or platform log",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "examples": [
    "H12",
    "R14",
    "L10"
  ],
  "additional_context": [
    "Preserves the provider-specific code from the router code field or a platform error message."
  ],
  "changelog": [
    {
      "version": "0.31.0",
      "prs": [
        772
      ],
      "description": "Added heroku.error.code attribute"
    }
  ]
}

heroku.error.description

stringScrub: ManualVisibility: PublicOTel: False

Description of the Heroku error reported by a router or platform log

ExamplesRequest timeoutMemory quota exceeded
Additional Context
  • A router or platform error description does not imply that an exception was thrown
Changelog
v0.31.0#772Added heroku.error.description attribute
Raw JSON
{
  "key": "heroku.error.description",
  "brief": "Description of the Heroku error reported by a router or platform log",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "examples": [
    "Request timeout",
    "Memory quota exceeded"
  ],
  "additional_context": [
    "A router or platform error description does not imply that an exception was thrown"
  ],
  "changelog": [
    {
      "version": "0.31.0",
      "prs": [
        772
      ],
      "description": "Added heroku.error.description attribute"
    }
  ]
}

heroku.logplex.drain_token

stringScrub: ManualVisibility: PublicOTel: False

Identifier of the Heroku log drain that delivered the log, from the Logplex-Drain-Token header

Examplesd.73ea7440-270a-435a-a0ea-adf50b4e5f5a
Changelog
v0.31.0#772Added heroku.logplex.drain_token attribute
Raw JSON
{
  "key": "heroku.logplex.drain_token",
  "brief": "Identifier of the Heroku log drain that delivered the log, from the Logplex-Drain-Token header",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "examples": [
    "d.73ea7440-270a-435a-a0ea-adf50b4e5f5a"
  ],
  "changelog": [
    {
      "version": "0.31.0",
      "prs": [
        772
      ],
      "description": "Added heroku.logplex.drain_token attribute"
    }
  ]
}

heroku.router.connect

doubleScrub: ManualVisibility: PublicOTel: False

Time in milliseconds the Heroku router spent establishing a connection to the dyno

Examples00.56
Changelog
v0.31.0#772Added heroku.router.connect attribute
Raw JSON
{
  "key": "heroku.router.connect",
  "brief": "Time in milliseconds the Heroku router spent establishing a connection to the dyno",
  "type": "double",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "examples": [
    0,
    0.5,
    6
  ],
  "changelog": [
    {
      "version": "0.31.0",
      "prs": [
        772
      ],
      "description": "Added heroku.router.connect attribute"
    }
  ]
}

heroku.router.request_id

stringScrub: ManualVisibility: PublicOTel: False

Request identifier reported by the Heroku router

Examples6903a168-b79b-ec27-03c8-b8f64d8d8792
Additional Context
  • Heroku generates or accepts this identifier and forwards it to the application in the X-Request-ID header.
Changelog
v0.31.0#772Added heroku.router.request_id attribute
Raw JSON
{
  "key": "heroku.router.request_id",
  "brief": "Request identifier reported by the Heroku router",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "examples": [
    "6903a168-b79b-ec27-03c8-b8f64d8d8792"
  ],
  "additional_context": [
    "Heroku generates or accepts this identifier and forwards it to the application in the X-Request-ID header."
  ],
  "changelog": [
    {
      "version": "0.31.0",
      "prs": [
        772
      ],
      "description": "Added heroku.router.request_id attribute"
    }
  ]
}

heroku.router.service

doubleScrub: ManualVisibility: PublicOTel: False

Time in milliseconds spent proxying data between the backend dyno and the client, as reported by the Heroku router

Examples012.530001
Additional Context
  • This measures the proxying phase, not necessarily the complete HTTP request duration.
Changelog
v0.31.0#772Added heroku.router.service attribute
Raw JSON
{
  "key": "heroku.router.service",
  "brief": "Time in milliseconds spent proxying data between the backend dyno and the client, as reported by the Heroku router",
  "type": "double",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "examples": [
    0,
    12.5,
    30001
  ],
  "additional_context": [
    "This measures the proxying phase, not necessarily the complete HTTP request duration."
  ],
  "changelog": [
    {
      "version": "0.31.0",
      "prs": [
        772
      ],
      "description": "Added heroku.router.service attribute"
    }
  ]
}