Merge branch 'telemetry-comps' into combined-rodap-stuff

This commit is contained in:
Scott Bell 2024-10-01 21:29:17 +02:00
commit 2536627af8

View File

@ -175,7 +175,11 @@ const props = defineProps({
});
onBeforeMount(async () => {
outputTelemetryCollection = openmct.telemetry.requestCollection(domainObject);
const telemetryOptions = {
size: 1,
strategy: 'latest'
};
outputTelemetryCollection = openmct.telemetry.requestCollection(domainObject, telemetryOptions);
outputTelemetryCollection.on('add', telemetryProcessor);
outputTelemetryCollection.on('clear', clearData);
compsManager.on('parameterAdded', reloadParameters);