Heroku

Status: Experimental

type: heroku

Description: Heroku dyno metadata

AttributeTypeDescriptionExamplesRequirement LevelStability
heroku.app.idstringUnique identifier for the application2daa2797-e42b-4624-9322-ec3f968df4daOpt-InExperimental
heroku.release.commitstringCommit hash for the current releasee6134959463efd8966b20e75b913cafe3f5ecOpt-InExperimental
heroku.release.creation_timestampstringTime and date the release was created2022-10-23T18:00:42ZOpt-InExperimental

Mapping:

Dyno metadata environment variableResource attribute
HEROKU_APP_IDheroku.app.id
HEROKU_APP_NAMEservice.name
HEROKU_DYNO_IDservice.instance.id
HEROKU_RELEASE_CREATED_ATheroku.release.creation_timestamp
HEROKU_RELEASE_VERSIONservice.version
HEROKU_SLUG_COMMITheroku.release.commit

Additionally, the cloud.provider resource attribute MUST be set to heroku.