mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-11 00:07:30 -05:00
OTEL Dataset
This commit is contained in:
@@ -146,6 +146,7 @@ async function load_systems(systemClients) {
|
||||
exports.get_systems = async function (req, res) {
|
||||
if ((systemList.length == 0) || (systemListTime < (Date.now() - 60 * 1000 * 15))) {
|
||||
await load_systems(req.systemClients);
|
||||
console.log("System List Loaded - total: " + systemList.length);
|
||||
systemListTime = Date.now();
|
||||
}
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ services:
|
||||
image: "backend:${TAG}-${STAGE}"
|
||||
pid: "host"
|
||||
environment:
|
||||
- OTEL_SERVICE_NAME="test"
|
||||
- OTEL_SERVICE_NAME="prod"
|
||||
- OTEL_EXPORTER_OTLP_PROTOCOL="http/protobuf"
|
||||
- OTEL_EXPORTER_OTLP_ENDPOINT="https://api.honeycomb.io:443"
|
||||
- OTEL_EXPORTER_OTLP_HEADERS="x-honeycomb-team=${HONEYCOMB_API_KEY}"
|
||||
|
||||
Reference in New Issue
Block a user