What does strategy and size mean inside options object? #5746
-
Hi OpenMCT community! I'm working on a simple historical telemetry provider. And I see that when retrieving historical data, I have access to an openmct.telemetry.addProvider({
...
request: function (domainObject, options) {
console.log({ options });
},
...
}); My question is, inside the {
"options": {
"size": 222,
"strategy": "minmax",
"start": 1662821170502,
"end": 1662822070502,
"domain": "utc",
"signal": {}
}
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi there! Good question. These are both optional arguments that some of our views pass through to allow telemetry providers to optimize certain requests. The
The
These are also covered in our API documentation. Hope this helps to clarify things! |
Beta Was this translation helpful? Give feedback.
Hi there!
Good question. These are both optional arguments that some of our views pass through to allow telemetry providers to optimize certain requests.
The
size
argument tells the telemetry provider the maximum number of results being requested. It is used most commonly in two cases: