OTEL Dataset

This commit is contained in:
Luke Berndt
2024-08-21 21:56:40 -04:00
parent f677f51aec
commit 6ff95ded02
2 changed files with 2 additions and 1 deletions

View File

@@ -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();
}

View File

@@ -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}"