FlowFuse / nr-assistant

Apache License 2.0
2 stars 1 forks source link

Add device/instance info to requests #16

Closed Steve-Mcl closed 3 months ago

Steve-Mcl commented 3 months ago

Description

Currently, we have no way of knowing which type of instance is calling to the assistant service and so no means of providing tailored responses. Nor do we have the ability to pinpoint which instances an error occurs for.

This issue is requesting device/instance id and any additional info is included in the request to permit such features and future possibilities.

Initially, this can just be via X- or Vendor- headers

Epic/Story

No response

### Tasks
- [ ] https://github.com/FlowFuse/flowfuse/issues/4160
- [x] Update PostHog reports
joepavitt commented 3 months ago

We should also update the PH node in the flow to include the group of the relevant instance. Minimum move here needs to be getting instance ID

Steve-Mcl commented 3 months ago

verified in PostHog