Skip to content

Http openobserve error handling#1103

Open
bazsi wants to merge 7 commits into
axoflow:mainfrom
bazsi:http-openobserve-error-handling
Open

Http openobserve error handling#1103
bazsi wants to merge 7 commits into
axoflow:mainfrom
bazsi:http-openobserve-error-handling

Conversation

@bazsi
Copy link
Copy Markdown
Member

@bazsi bazsi commented Jun 2, 2026

No description provided.

bazsi added 7 commits June 3, 2026 15:46
Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
Assisted-by: Claude:claude-sonnet-4-6
Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
…by_name()

Move the name-to-instance mapping out of the grammar action and into a
dedicated factory function in http-adapter.c.  The grammar now has a
single call site; adding future adapters only requires updating the
factory.

Assisted-by: Claude:claude-sonnet-4-6
Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
…p-adapter.c

Both splunk-adapter.c and openobserve-adapter.c contained identical copies
of _parse_response_json() and _locate_offending_payload().  Consolidate
them into http_adapter_parse_response_json() and
http_adapter_locate_offending_payload() in the base module so adapters
don't each carry their own copy.

Assisted-by: Claude:claude-sonnet-4-6
Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
Avoid having to parse the response JSON in case of a successful delivery.

Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
…out of bounds

Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
…sponse

Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
@bazsi bazsi force-pushed the http-openobserve-error-handling branch from 07ee0cd to 8417c5a Compare June 3, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant