Skip to main content

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 NameExample ValueAllowed Values
cloud.platformhetzner_dedicatedhetzner_dedicated
host.id2012345Hetzner server number

Optional Fields

These fields are extracted if present but are not required for cost calculation:

Attribute NameExample ValueAllowed ValuesDefault
host.typeAX102Hetzner server product
cloud.regionhel1Hetzner 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"