Skip to content

Conversation

nikhilsinhaparseable
Copy link
Contributor

add additional header X-P-Log-Source to stream creation
for otel logs ingestion using API POST /v1/logs, server adds log_source=OtelLogs to the stream info
which can be verified using API GET /logstream/{logstream}/info

similarly, for otel metrics, log_source=OtelMetricsLogs
and for otel traces, log_source=OtelTraces is added to the stream info
server adds log_souce=Json for stream with unknown log source value
or for the stream without the log souce header

add additional header `X-P-Log-Source` to stream creation
for otel logs ingestion using API `POST /v1/logs`,
server adds `log_source=OtelLogs` to the stream info
which can be verified using API `GET /logstream/{logstream}/info`

similarly, for otel metrics, `log_source=OtelMetricsLogs`
and for otel traces, `log_source=OtelTraces` is added to the stream info
server adds `log_souce=Json` for stream with unknown log source value
or for the stream without the log souce header
@coveralls
Copy link

Pull Request Test Coverage Report for Build 12688690064

Details

  • 11 of 67 (16.42%) changed or added relevant lines in 8 files are covered.
  • 2 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.2%) to 12.629%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/event/format/mod.rs 2 3 66.67%
src/storage/mod.rs 0 1 0.0%
src/storage/object_storage.rs 0 1 0.0%
src/metadata.rs 0 4 0.0%
src/kafka.rs 0 6 0.0%
src/handlers/http/modal/utils/logstream_utils.rs 6 13 46.15%
src/handlers/http/logstream.rs 3 13 23.08%
src/handlers/http/ingest.rs 0 26 0.0%
Files with Coverage Reduction New Missed Lines %
src/handlers/http/modal/utils/logstream_utils.rs 1 9.07%
src/handlers/http/logstream.rs 1 2.01%
Totals Coverage Status
Change from base Build 12682370366: 0.2%
Covered Lines: 2469
Relevant Lines: 19551

💛 - Coveralls

@nitisht nitisht merged commit 2f92ac2 into parseablehq:main Jan 15, 2025
6 checks passed
@nikhilsinhaparseable nikhilsinhaparseable deleted the log-source branch July 12, 2025 08: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.

4 participants