Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v23.3.x] Transform logging data model #16300

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #16190

Named type for `std::string_view` in transform related contexts

Signed-off-by: Oren Leiman <oren.leiman@redpanda.com>
(cherry picked from commit a034c73)
@vbotbuildovich vbotbuildovich added this to the v23.3.x-next milestone Jan 26, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Jan 26, 2024
Includes RapidJSON serialization for a mapping of the OpenTelemetry
logging format [1] and some internal helper types to that end.

Example JSON:

```
{
  "body": {
    "stringValue": "my message goes here...",
  },
  "timeUnixNano": 1705462202516000000,
  "severityNumber": 9, // 9 for stdout, 13 for stderr
  "attributes": [
    {"key": "node", "value": {"intValue": 1}},
    {"key": "transform_name", "value": {"stringValue": "<xform name>"}}
  ]
}
```

1. https://opentelemetry.io/docs/specs/otel/logs/data-model/

Signed-off-by: Oren Leiman <oren.leiman@redpanda.com>
(cherry picked from commit 35ff58b)
Includes test utils module for transform logging.

Signed-off-by: Oren Leiman <oren.leiman@redpanda.com>
(cherry picked from commit 274bb6a)
@rockwotj rockwotj force-pushed the backport-pr-16190-v23.3.x-527 branch from 61d4f47 to d9e174b Compare January 30, 2024 17:32
@oleiman oleiman self-assigned this Jan 30, 2024
@oleiman
Copy link
Member

oleiman commented Jan 30, 2024

CI Failures:

@rockwotj
Copy link
Contributor

CI Failure: #14139

@rockwotj rockwotj merged commit fe74840 into redpanda-data:v23.3.x Jan 31, 2024
17 checks passed
@piyushredpanda piyushredpanda modified the milestones: v23.3.x-next, v23.3.5 Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants