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

This commit is contained in:
Scott Bell 2024-10-22 21:03:14 +02:00
commit 1da60b09a6

View File

@ -210,8 +210,10 @@ const props = defineProps({
onBeforeMount(async () => { onBeforeMount(async () => {
const telemetryOptions = { const telemetryOptions = {
strategy: 'minmax' strategy: 'minmax',
size: 20,
}; };
// TODO: we should dynamically set size to the largest comp input window
outputTelemetryCollection = openmct.telemetry.requestCollection(domainObject, telemetryOptions); outputTelemetryCollection = openmct.telemetry.requestCollection(domainObject, telemetryOptions);
outputTelemetryCollection.on('add', telemetryProcessor); outputTelemetryCollection.on('add', telemetryProcessor);
outputTelemetryCollection.on('clear', clearData); outputTelemetryCollection.on('clear', clearData);