Skip to main content
Version: dev

Monitoring LM Studio

Prerequisites

Ensure that the LM Studio server is running and the REST API is enabled. By default, LM Studio listens on localhost:1234.

Notes

  1. HertzBeat needs network access to the LM Studio server. Ensure the target host and port are reachable.
  2. By default, LM Studio does not require authentication for API requests. To enable authentication so that only requests with a valid API Token are accepted, toggle the switch in the Developers Page > Server Settings.

Configuration Parameters

Parameter NameParameter Description
Target HostThe IP address or domain of the LM Studio server. Default: localhost.
PortThe port of the LM Studio REST API. Default: 1234.
HTTPSWhether to enable HTTPS.
API TokenThe API token for authentication (optional, required if API auth is enabled in LM Studio).
Task NameIdentify the name of this monitoring, ensuring uniqueness.
CollectorConfigure which collector to use for scheduling collection for this monitoring.
Monitoring PeriodInterval time for periodic data collection, in seconds, with a minimum interval of 30 seconds.
Bound TagsTags for managing classification of monitoring resources.
DescriptionAdditional identification and description for this monitoring, users can leave remarks here.

Collection Metrics

Metric Set: Models

Metric NameMetric UnitMetric Description
Model KeyNoneUnique model identifier
Display NameNoneHuman-readable model name
Model TypeNoneModel category: llm or embedding
PublisherNoneModel creator identifier
ArchitectureNoneModel architecture (e.g., gemma3, llama)
QuantizationNoneQuantization method (e.g., Q4_0, F16)
Quantization BitsNoneBits per weight for quantization
Model SizeMBModel file size
ParametersNoneParameter count (e.g., 7B, 270M)
Max Context LengthNoneMaximum token context window
FormatNoneModel file format (gguf, mlx)