You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "wu-sheng (via GitHub)" <gi...@apache.org> on 2026/04/16 03:56:49 UTC
[PR] Add optional layer field to browser protocol payloads [skywalking-data-collect-protocol]
wu-sheng opened a new pull request, #122:
URL: https://github.com/apache/skywalking-data-collect-protocol/pull/122
### What changed
This adds an optional `layer` field to browser protocol payloads in `browser/BrowserPerf.proto`:
- `BrowserPerfData`
- `BrowserErrorLog`
- `BrowserWebVitalsPerfData`
- `BrowserResourcePerfData`
- `BrowserWebInteractionsPerfData`
### Why
The current browser protocol assumes all browser-related telemetry belongs to the `BROWSER` layer.
That works for web browser SDKs, but it is too restrictive for browser-like runtimes such as WeChat Mini Program. We need the protocol to carry an explicit layer hint so OAP can distinguish these runtimes while keeping backward compatibility.
### Compatibility
This change is backward compatible:
- existing clients can omit `layer`
- receivers can continue treating a missing or unsupported `layer` as `BROWSER`
### Follow-up
After this protocol change lands, OAP can add support for resolving the new field and introduce a dedicated layer such as `WECHAT_MINI_PROGRAM` while keeping `BROWSER` as the fallback.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add optional layer field to browser protocol payloads [skywalking-data-collect-protocol]
Posted by "wu-sheng (via GitHub)" <gi...@apache.org>.
wu-sheng closed pull request #122: Add optional layer field to browser protocol payloads
URL: https://github.com/apache/skywalking-data-collect-protocol/pull/122
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org