Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions include/OtelSender.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#include <Arduino.h>
#include <ArduinoJson.h>
#include <atomic>

// Optional compile-time on/off switch for all network sends.
// You can set -DOTEL_SEND_ENABLE=0 in platformio.ini for latency tests.
#ifndef OTEL_SEND_ENABLE
Expand All @@ -17,9 +16,6 @@
#define OTEL_WORKER_SLEEP_MS 0
#endif

#ifndef OTEL_QUEUE_CAPACITY
#define OTEL_QUEUE_CAPACITY 128
#endif
// Base URL of your OTLP/HTTP collector (no trailing slash), e.g. "http://192.168.8.50:4318"
// You can override this via build_flags: -DOTEL_COLLECTOR_BASE_URL="\"http://…:4318\""
#ifndef OTEL_COLLECTOR_BASE_URL
Expand Down
2 changes: 1 addition & 1 deletion src/OtelSender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void OTelSender::workerLoop_() {
#if defined(HTTPCLIENT_1_2_COMPATIBLE) || defined(ESP8266) || defined(ESP32)
http.setReuse(true);
#endif
if (httpBeginCompat(http,fullUrl_(it.path))) {
if (httpBeginCompat(http, fullUrl_(it.path))) {
http.addHeader("Content-Type", "application/json");
(void)http.POST(it.payload);
http.end();
Expand Down