wu-sheng opened a new pull request, #13742:
URL: https://github.com/apache/skywalking/pull/13742

   ### Introduce LogMetadata POJO to separate metadata from input data in LAL 
pipeline
   
   Cleanly decouple metadata (service, layer, timestamp, trace context) from 
input data
   (LogData body/tags, typed protos like Envoy ALS) at the LAL pipeline entry 
point.
   
   **Key changes:**
   - `LogMetadata` POJO carries service/instance/endpoint/layer/timestamp/trace 
context
   - `LogMetadataUtils.fromLogData()` extracts metadata from `LogData` at 
receiver boundary
   - `ExecutionContext` uses `metadata()` + `input()` instead of `log()` + 
`extraLog()`
   - Envoy ALS receivers no longer build fake `LogData` — pass typed proto as 
`input` directly
   - `LogSinkListener.parse()` unified to single 3-parameter signature 
`(LogMetadata, Object, ExecutionContext)`
   - `LogTestQuery` (test tool) separated from production sink via `dryRun` flag
   - Only compiler is LogData-aware (for `json{}`/`yaml{}` fallback); runtime 
uses untyped `ctx.input()`
   - `LalRuntimeHelper.tagValue()` casts directly to `LogData.Builder` (no 
instanceof guard — only called by compiled code)
   
   - [ ] If this pull request closes/resolves/fixes an existing issue, replace 
the issue number. Closes #<issue number>.
   - [ ] Update the [`CHANGES` 
log](https://github.com/apache/skywalking/blob/master/docs/en/changes/changes.md).


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to