We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eda21fe commit 5c2be7dCopy full SHA for 5c2be7d
lib/Services/prometheus.js
@@ -50,6 +50,41 @@ class Prometheus extends Request {
50
payload
51
});
52
}
53
+
54
+ genFakeDeviceReadings(
55
+ thing_id,
56
+ hardware_id,
57
+ device_type_id,
58
+ propMapping,
59
+ historyQuery
60
+ ) {
61
+ const path = `/v1/delegate/fake-readings`;
62
+ const payload = {
63
64
65
66
67
68
+ };
69
70
+ return this.send('POST', path, {
71
+ isPublic: true,
72
+ payload
73
+ });
74
+ }
75
76
+ genFakeDevicesState(things, query) {
77
+ const path = `/v1/delegate/fake-state`;
78
79
+ things,
80
+ query
81
82
83
84
85
86
87
88
89
90
module.exports = Prometheus;
0 commit comments