mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
Merge pull request #57 from tatchi/add-host-attributes
add host attributes
This commit is contained in:
commit
c22e7f4699
1 changed files with 21 additions and 0 deletions
|
|
@ -552,6 +552,27 @@ module Conventions = struct
|
|||
(** http or https *)
|
||||
let url_scheme = "url.scheme"
|
||||
end
|
||||
|
||||
(** https://github.com/open-telemetry/semantic-conventions/blob/main/docs/resource/host.md *)
|
||||
module Host = struct
|
||||
let id = "host.id"
|
||||
|
||||
let name = "host.name"
|
||||
|
||||
let type_ = "host.type"
|
||||
|
||||
let arch = "host.arch"
|
||||
|
||||
let ip = "host.ip"
|
||||
|
||||
let mac = "host.mac"
|
||||
|
||||
let image_id = "host.image.id"
|
||||
|
||||
let image_name = "host.image.name"
|
||||
|
||||
let image_version = "host.image.version"
|
||||
end
|
||||
end
|
||||
|
||||
module Metrics = struct
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue