rama::telemetry::opentelemetry::semantic_conventions::attribute

Constant URL_EXTENSION

pub const URL_EXTENSION: &'static str;
Expand description

The file extension extracted from the url.full, excluding the leading dot.

§Notes

The file extension is only set if it exists, as not every url has a file extension. When the file name has multiple extensions example.tar.gz, only the last one should be captured gz, not tar.gz.

§Examples

  • "png"
  • "gz"