Skip to content

Commit

Permalink
OTEL Dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
robotastic committed Aug 22, 2024
1 parent f677f51 commit 6ff95de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions backend/controllers/systems.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 6ff95de

Please sign in to comment.