Skip to content

Commit

Permalink
Namespaced VoriPOS attributes
Browse files Browse the repository at this point in the history
The usperted attributes pulled from provision values are now prefixed with voipos to better indicate these values come from VoriPOS devices.
  • Loading branch information
clintonb committed Jan 16, 2024
1 parent 633c208 commit 8e5a78a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,28 +46,28 @@ processors:
- key: device.serial_number
value: "${env:DEVICE_SERIAL_NUMBER}"
action: insert
- key: voripos_otel_collector_version
- key: voripos.otel_collector_version
value: "${env:VORIPOS_OTEL_COLLECTOR_VERSION}"
action: upsert
- key: provisioned_environment
- key: voripos.environment
value: "${env:VORIPOS_ENVIRONMENT}"
action: upsert
- key: bannerID
- key: voripos.banner.id
value: "${env:VORIPOS_BANNER_ID}"
action: upsert
- key: bannerName
- key: voripos.banner.name
value: "${env:VORIPOS_BANNER_NAME}"
action: upsert
- key: storeID
- key: voripos.store.id
value: "${env:VORIPOS_STORE_ID}"
action: upsert
- key: storeName
- key: voripos.store.name
value: "${env:VORIPOS_STORE_NAME}"
action: upsert
- key: laneID
- key: voripos.lane.id
value: "${env:VORIPOS_LANE_ID}"
action: upsert
- key: laneName
- key: voripos.lane.name
value: "${env:VORIPOS_LANE_NAME}"
action: upsert
memory_limiter:
Expand Down
2 changes: 1 addition & 1 deletion voripos-otel-collector.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# This is needed to locate the otelcol-contrib executable
export PATH="/opt/homebrew/bin:$PATH"

export VORIPOS_OTEL_COLLECTOR_VERSION=0.4.1
export VORIPOS_OTEL_COLLECTOR_VERSION=0.4.2
DEVICE_SERIAL_NUMBER=$(ioreg -c IOPlatformExpertDevice -d 2 | awk -F\" '/IOPlatformSerialNumber/{print $(NF-1)}')

OIDC_CLIENT_ID=
Expand Down

0 comments on commit 8e5a78a

Please sign in to comment.