module PlaceOS
Defined in:
placeos-log-backend/constants.crplaceos-log-backend/format.cr
Constant Summary
-
ELASTIC_APM_API_KEY =
ENV["ELASTIC_APM_API_KEY"]?.presence
-
LOG_FORMAT =
ENV["PLACE_LOG_FORMAT"]?.presence.try do |format| ::PlaceOS::LogBackend::Format.parse(format) end || ::PlaceOS::LogBackend::Format::Line
-
NEW_RELIC_LICENSE_KEY =
ENV["NEW_RELIC_LICENSE_KEY"]?.presence
-
OTEL_EXPORTER_OTLP_API_KEY =
ENV["OTEL_EXPORTER_OTLP_API_KEY"]?.presence
-
Api Keys
-
OTEL_EXPORTER_OTLP_ENDPOINT =
ENV["OTEL_EXPORTER_OTLP_ENDPOINT"]?.presence
-
OTLP configuration
-
OTEL_EXPORTER_OTLP_HEADERS =
ENV["OTEL_EXPORTER_OTLP_HEADERS"]?.presence
-
UDP_LOG_HOST =
self.env_with_deprecation("UDP_LOG_HOST", "LOGSTASH_HOST")
-
UDP_LOG_PORT =
(self.env_with_deprecation("UDP_LOG_PORT", "LOGSTASH_PORT")).try(&.to_i?)