Hetzner Dedicated
Required Hetzner Dedicated Attributes
The following cost calculation tags are required for traces originating from Hetzner dedicated servers.
Always Required Fields
These fields are always required for Hetzner dedicated server cost calculation:
| Attribute Name | Example Value | Allowed Values |
|---|---|---|
cloud.platform | hetzner_dedicated | hetzner_dedicated |
host.id | 2012345 | Hetzner server number |
Optional Fields
These fields are extracted if present but are not required for cost calculation:
| Attribute Name | Example Value | Allowed Values | Default |
|---|---|---|---|
host.type | AX102 | Hetzner server product | — |
cloud.region | hel1 | Hetzner datacenter | — |
Cost Calculation
Hetzner dedicated servers are priced at a fixed monthly rate. Beakpoint converts this to an hourly rate using 730 hours/month and calculates cost based on span duration:
cost = (span_duration_seconds / 3600) × (monthly_price / 730)
When multiple spans overlap on the same server (identified by cloud.platform + host.id), costs are proportionally shared using a time-sharing algorithm. Spans on different server instances are priced independently.
Example Configuration
Set these as OpenTelemetry resource attributes in your application:
OTEL_RESOURCE_ATTRIBUTES: "cloud.platform=hetzner_dedicated,host.id=2012345,host.type=AX102,cloud.region=hel1"