OpenTelemetry sink missing events #22991
Replies: 2 comments 2 replies
-
Quick update with more details. I implemented a reduce transform to group the logs and am seeing the first set go through with 100 entries, but then it seems to skip all the others except maybe the final group. I'm not completely sure if that's accurate but looking at the date/time values in the body messages for the first group of 100, I see the entries in the group start at 04:02:45 and end at 08:47:46, the the next group starts at 13:50:46. So I'm missing the entries between 08:47:46 and 13:50:46. I've confirmed in my logs that there are values in that time range. Is is possibly doing sampling or something by default in the opentelemetry sink? It just seems odd that I would see the output as expected on the console, but the opentelemetry sink using the same input doesn't give consistent results. By the way, I'm using vector 0.46.1 (x86_64-pc-windows-msvc 9a19e8a 2025-04-14 18:36:30.707862743) |
Beta Was this translation helpful? Give feedback.
-
Another quick update. I decided to try it as an HTTP sink and confirmed I'm seeing the same result so it doesn't seem to be OpenTelemetry specific and maybe more the underlying HTTP sink. |
Beta Was this translation helpful? Give feedback.
-
I'm relatively new to both Vector and OpenTelemetry but I feel like I'm close to getting what I need. I've been fighting this for a few days now and figured it's time to ask for help.
We are trying to collect IIS logs from our web servers and take two actions: ship them to a different location using raw_message (this works) and also ship them upstream to an OpenTelemetry collector using OTLP. The communication seems to work overall and running debug on both sides shows events are sent and received, but on the OTEL side, I only see 1 event and it looks like the first from the file. If I let it run for a while, it seems to log an event periodically but I can't figure out what the pattern is or what settings to adjust.
Here is my basic configuration with the log file shipping removed to focus only on the OTLP side. The console sink actually displays all the records as expected so I think it's parsing everything correctly, just doesn't seem to work with OpenTelemetry.
Here is my basic OTel collector config:
Beta Was this translation helpful? Give feedback.
All reactions