EdgexAgent/device-gps-go/run/cmd/device-gps/res/configuration.yaml

35 lines
999 B
YAML
Raw Normal View History

2025-07-10 20:30:06 +08:00
Writable:
LogLevel: DEBUG
Reading:
ReadingUnits: true
Telemetry:
Metrics:
# All service's custom metric names must be present in this list. All common metric names are in the Common Config
ReadCommandsExecuted: true
Service:
Host: "localhost"
Port: 59999 # Device service are assigned the 599xx range
StartupMsg: device simple started
MessageBus:
Optional:
ClientId: device-gps
# Example overriding of Common Config settings
Device:
AsyncBufferSize: 1
# These have common values (currently), but must be here for service local env overrides to apply when customized
ProfilesDir: ./res/profiles
DevicesDir: ./res/devices
# Only needed if device service implements auto provisioning
ProvisionWatchersDir: ./res/provisionwatchers
Discovery:
Enabled: false
Interval: "30s"
# Example structured custom configuration
SimpleCustom:
OnImageLocation: ./res/on.png
OffImageLocation: ./res/off.jpg
Writable:
DiscoverSleepDurationSecs: 3