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