@balena/open-balena-api 30.2.9-build-renovate-major-11-uuid-cdbeb48e7007681436963ea772a999df403fff92-1 → 31.0.0-build-loki-4bc898ab85a4e730c2fec5eae91ad6d9f5c24d73-1

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,7 +26,6 @@ export declare class LokiBackend implements DeviceLogsBackend {
26
26
  private getKey;
27
27
  private getLabels;
28
28
  private validateLog;
29
- private fromStreamsToDeviceLogs;
30
29
  private fromStreamToDeviceLogs;
31
30
  private fromDeviceLogsToStreams;
32
31
  }
@@ -2,18 +2,19 @@ import _ from 'lodash';
2
2
  import { EventEmitter } from 'events';
3
3
  import loki from 'loki-grpc-client';
4
4
  import { errors, sbvrUtils, permissions } from '@balena/pinejs';
5
- import { LOKI_READ_HOST, LOKI_READ_PORT, LOKI_WRITE_HOST, LOKI_WRITE_PORT, } from '../../../../lib/config.js';
5
+ import { LOKI_QUERY_HOST, LOKI_QUERY_HTTP_PORT, LOKI_INGESTER_HOST, LOKI_INGESTER_GRPC_PORT, } from '../../../../lib/config.js';
6
6
  import { captureException } from '../../../../infra/error-handling/index.js';
7
7
  import { setCurrentSubscriptions, incrementSubscriptionTotal, incrementPublishCallSuccessTotal, incrementPublishCallFailedTotal, incrementLokiPushErrorTotal, incrementPublishLogMessagesTotal, incrementPublishLogMessagesDropped, incrementLokiPushTotal, updateLokiPushDurationHistogram, incrementPublishCallTotal, } from './metrics.js';
8
8
  import { setTimeout } from 'timers/promises';
9
9
  import { omitNanoTimestamp } from '../config.js';
10
+ import { requestAsync } from '../../../../infra/request-promise/index.js';
10
11
  const { BadRequestError } = errors;
11
12
  // invert status object for quick lookup of status identifier using status code
12
13
  const statusKeys = _.transform(loki.status, function (result, value, key) {
13
14
  result[value] = key;
14
15
  }, {});
15
- const lokiQueryAddress = `${LOKI_READ_HOST}:${LOKI_READ_PORT}`;
16
- const lokiPushAddress = `${LOKI_WRITE_HOST}:${LOKI_WRITE_PORT}`;
16
+ const lokiQueryAddress = `${LOKI_QUERY_HOST}:${LOKI_QUERY_HTTP_PORT}`;
17
+ const lokiIngesterAddress = `${LOKI_INGESTER_HOST}:${LOKI_INGESTER_GRPC_PORT}`;
17
18
  // Retries disabled so that writes to Redis are not delayed on Loki error
18
19
  const RETRIES_ENABLED = false;
19
20
  // Timeout set to 1s so that writes to Redis are not delayed if Loki is slow
@@ -79,8 +80,8 @@ export class LokiBackend {
79
80
  tailCalls;
80
81
  constructor() {
81
82
  this.subscriptions = new EventEmitter();
82
- this.querier = new loki.QuerierClient(lokiQueryAddress, loki.createInsecureCredentials());
83
- this.pusher = new loki.PusherClient(lokiPushAddress, loki.createInsecureCredentials());
83
+ this.querier = new loki.QuerierClient(lokiIngesterAddress, loki.createInsecureCredentials());
84
+ this.pusher = new loki.PusherClient(lokiIngesterAddress, loki.createInsecureCredentials());
84
85
  this.tailCalls = new Map();
85
86
  this.push = backoff(this.push.bind(this), (err) => {
86
87
  incrementLokiPushErrorTotal(err.code ? statusKeys[err.code] : 'UNDEFINED');
@@ -100,29 +101,30 @@ export class LokiBackend {
100
101
  */
101
102
  async history($ctx, count) {
102
103
  const ctx = await assertLokiLogContext($ctx);
103
- const oneHourAgo = new Date(Date.now() - 10000 * 60);
104
- const queryRequest = new loki.QueryRequest();
105
- queryRequest.setSelector(this.getDeviceQuery(ctx));
106
- queryRequest.setLimit(Number.isFinite(count) ? count : 1000);
107
- queryRequest.setStart(createTimestampFromDate(oneHourAgo));
108
- queryRequest.setEnd(createTimestampFromDate());
109
- queryRequest.setDirection(loki.Direction.BACKWARD);
110
- const streams = [];
111
- const call = this.querier.query(queryRequest, loki.createOrgIdMetadata(String(ctx.belongs_to__application)));
112
- const responseStreams = await new Promise((resolve, reject) => {
113
- call.on('data', (queryResponse) => {
114
- streams.push(...queryResponse.getStreamsList());
115
- });
116
- call.on('error', (error) => {
117
- const message = `Failed to query logs for device ${ctx.uuid}`;
118
- captureException(error, message);
119
- reject(new BadRequestError(message));
120
- });
121
- call.on('end', () => {
122
- resolve(streams);
123
- });
104
+ const [, body] = await requestAsync({
105
+ url: `http://${lokiQueryAddress}/loki/api/v1/query_range`,
106
+ headers: {
107
+ 'X-Scope-OrgID': `${ctx.belongs_to__application}`,
108
+ },
109
+ qs: {
110
+ query: this.getDeviceQuery(ctx),
111
+ limit: Number.isFinite(count) ? count : 1000,
112
+ since: '30d',
113
+ },
114
+ json: true,
115
+ });
116
+ const logs = body.data.result
117
+ .flatMap(({ values }) => values)
118
+ .map(([timestamp, logLine]) => {
119
+ const log = JSON.parse(logLine);
120
+ log.nanoTimestamp = BigInt(timestamp);
121
+ if (log.version !== VERSION) {
122
+ throw new Error(`Invalid Loki serialization version: ${JSON.stringify(log)}`);
123
+ }
124
+ delete log.version;
125
+ return log;
124
126
  });
125
- return _.orderBy(this.fromStreamsToDeviceLogs(responseStreams), 'nanoTimestamp', 'asc');
127
+ return _.orderBy(logs, 'nanoTimestamp', 'asc');
126
128
  }
127
129
  async publish(ctx, logs) {
128
130
  const countLogs = logs.length;
@@ -137,7 +139,7 @@ export class LokiBackend {
137
139
  catch (err) {
138
140
  incrementPublishCallFailedTotal();
139
141
  incrementPublishLogMessagesDropped(countLogs);
140
- let message = `Failed to publish logs to ${lokiPushAddress} for device ${ctx.uuid}`;
142
+ let message = `Failed to publish logs for device ${ctx.uuid}`;
141
143
  if (VERBOSE_ERROR_MESSAGE) {
142
144
  message += JSON.stringify(logs, omitNanoTimestamp, '\t').substring(0, 1000);
143
145
  }
@@ -184,7 +186,7 @@ export class LokiBackend {
184
186
  });
185
187
  call.on('error', (err) => {
186
188
  if (err.details !== 'Cancelled') {
187
- captureException(err, `Loki tail call error from ${lokiQueryAddress} for device ${ctx.uuid}`);
189
+ captureException(err, `Loki tail call error for device ${ctx.uuid}`);
188
190
  }
189
191
  this.subscriptions.removeListener(key, subscription);
190
192
  this.tailCalls.delete(key);
@@ -234,9 +236,6 @@ export class LokiBackend {
234
236
  throw new BadRequestError('DeviceLog serviceId must be number or undefined');
235
237
  }
236
238
  }
237
- fromStreamsToDeviceLogs(streams) {
238
- return streams.flatMap(this.fromStreamToDeviceLogs);
239
- }
240
239
  fromStreamToDeviceLogs(stream) {
241
240
  try {
242
241
  return stream.getEntriesList().map((entry) => {
@@ -1 +1 @@
1
- {"version":3,"file":"loki.js","sourceRoot":"","sources":["../../../../../src/features/device-logs/lib/backends/loki.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,OAAO,IAAI,MAAM,kBAAkB,CAAC;AAEpC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EACN,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,GACf,MAAM,2BAA2B,CAAC;AAQnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,EACN,uBAAuB,EACvB,0BAA0B,EAC1B,gCAAgC,EAChC,+BAA+B,EAC/B,2BAA2B,EAC3B,gCAAgC,EAChC,kCAAkC,EAClC,sBAAsB,EACtB,+BAA+B,EAC/B,yBAAyB,GACzB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;AAEnC,+EAA+E;AAC/E,MAAM,UAAU,GAAG,CAAC,CAAC,SAAS,CAC7B,IAAI,CAAC,MAAM,EACX,UAAU,MAA0B,EAAE,KAAK,EAAE,GAAG;IAC/C,MAAM,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC;AACrB,CAAC,EACD,EAAE,CACF,CAAC;AAEF,MAAM,gBAAgB,GAAG,GAAG,cAAc,IAAI,cAAc,EAAE,CAAC;AAC/D,MAAM,eAAe,GAAG,GAAG,eAAe,IAAI,eAAe,EAAE,CAAC;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CAAC,CAAC;YACnC,yBAAyB;YACzB,IAAI,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC;YACjC,IAAI,CAAC,MAAM,EAAE,CAAC;gBACb,sCAAsC;gBACtC,MAAM,GAAG,IAAI,IAAI,CAAC,aAAa,EAAE,CAAC;gBAClC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;gBACzB,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;gBACrB,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;YAC9B,CAAC;YACD,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QAC1B,CAAC;QACD,OAAO,OAAO,CAAC;IAChB,CAAC;CACD"}
1
+ {"version":3,"file":"loki.js","sourceRoot":"","sources":["../../../../../src/features/device-logs/lib/backends/loki.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,OAAO,IAAI,MAAM,kBAAkB,CAAC;AAEpC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EACN,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,GACvB,MAAM,2BAA2B,CAAC;AAQnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,EACN,uBAAuB,EACvB,0BAA0B,EAC1B,gCAAgC,EAChC,+BAA+B,EAC/B,2BAA2B,EAC3B,gCAAgC,EAChC,kCAAkC,EAClC,sBAAsB,EACtB,+BAA+B,EAC/B,yBAAyB,GACzB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAE1E,MAAM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AAC,MAAM,CAAC,CAAC;gBACzB,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;gBACrB,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;YAC9B,CAAC;YACD,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QAC1B,CAAC;QACD,OAAO,OAAO,CAAC;IAChB,CAAC;CACD"}
@@ -1,7 +1,7 @@
1
1
  import _ from 'lodash';
2
2
  import { RedisBackend } from './backends/redis.js';
3
- import { LOGS_DEFAULT_RETENTION_LIMIT, LOKI_READ_HOST, LOKI_READ_PCT, LOKI_WRITE_HOST, LOKI_WRITE_PCT, } from '../../../lib/config.js';
4
- export const LOKI_ENABLED = LOKI_READ_HOST && LOKI_WRITE_HOST && LOKI_WRITE_PCT > 0;
3
+ import { LOGS_DEFAULT_RETENTION_LIMIT, LOKI_QUERY_HOST, LOKI_READ_PCT, LOKI_INGESTER_HOST, LOKI_WRITE_PCT, } from '../../../lib/config.js';
4
+ export const LOKI_ENABLED = LOKI_QUERY_HOST && LOKI_INGESTER_HOST && LOKI_WRITE_PCT > 0;
5
5
  export const shouldPublishToLoki = () => LOKI_ENABLED && LOKI_WRITE_PCT > Math.random() * 100;
6
6
  export const shouldReadFromLoki = () => LOKI_ENABLED && LOKI_READ_PCT > Math.random() * 100;
7
7
  export function addRetentionLimit(ctx) {
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../src/features/device-logs/lib/config.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EACN,4BAA4B,EAC5B,cAAc,EACd,aAAa,EACb,eAAe,EACf,cAAc,GACd,MAAM,wBAAwB,CAAC;AAEhC,MAAM,CAAC,MAAM,YAAY,GACxB,cAAc,IAAI,eAAe,IAAI,cAAc,GAAG,CAAC,CAAC;AACzD,MAAM,CAAC,MAAM,mBA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AY,IAAI,cAAc,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC;AACtD,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,EAAE,CACtC,YAAY,IAAI,aAAa,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC;AAErD,MAAM,UAAU,iBAAiB,CAChC,GAAwC;IAExC,OAAO;QACN,GAAG,GAAG;QACN,eAAe,EAAE,4BAA4B;KAC7C,CAAC;AACH,CAAC;AAED,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,IAAI,CAAC,GAAsB,EAAE,CAAC,IAAI,YAAY,EAAE,CAAC,CAAC;AAE9E,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,IAAgC,EAAE;IAC3E,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,CAAC;IAC3D,OAAO,IAAI,WAAW,EAAE,CAAC;AAC1B,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,GAAW,EAAE,KAAU,EAAE,EAAE,CAC5D,GAAG,KAAK,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC"}
@@ -91,10 +91,10 @@ export declare const REDIS: {
91
91
  };
92
92
  export declare const REDIS_LOGS_SHARDED_PUBSUB: boolean;
93
93
  export declare const REDIS_LOGS_COMPRESSION_ENABLED: boolean;
94
- export declare const LOKI_WRITE_HOST: string | undefined;
95
- export declare const LOKI_READ_HOST: string | undefined;
96
- export declare const LOKI_WRITE_PORT: number;
97
- export declare const LOKI_READ_PORT: number;
94
+ export declare const LOKI_INGESTER_HOST: string | undefined;
95
+ export declare const LOKI_QUERY_HOST: string | undefined;
96
+ export declare const LOKI_INGESTER_GRPC_PORT: number;
97
+ export declare const LOKI_QUERY_HTTP_PORT: number;
98
98
  export declare const LOKI_WRITE_PCT: number;
99
99
  /**
100
100
  * This is the percent of log read requests that will go to loki, however the number of logs fetched from loki
@@ -173,11 +173,10 @@ export const REDIS = {
173
173
  export const REDIS_LOGS_SHARDED_PUBSUB = boolVar('REDIS_LOGS_SHARDED_PUBSUB', false);
174
174
  export const REDIS_LOGS_COMPRESSION_ENABLED = boolVar('REDIS_LOGS_COMPRESSION_ENABLED', true);
175
175
  const LOKI_HOST = optionalVar('LOKI_HOST');
176
- export const LOKI_WRITE_HOST = optionalVar('LOKI_WRITE_HOST', LOKI_HOST);
177
- export const LOKI_READ_HOST = optionalVar('LOKI_READ_HOST', LOKI_HOST);
178
- const LOKI_PORT = intVar('LOKI_PORT', 9095);
179
- export const LOKI_WRITE_PORT = intVar('LOKI_WRITE_PORT', LOKI_PORT);
180
- export const LOKI_READ_PORT = intVar('LOKI_READ_PORT', LOKI_PORT);
176
+ export const LOKI_INGESTER_HOST = optionalVar('LOKI_INGESTER_HOST', LOKI_HOST);
177
+ export const LOKI_QUERY_HOST = optionalVar('LOKI_QUERY_HOST', LOKI_HOST);
178
+ export const LOKI_INGESTER_GRPC_PORT = intVar('LOKI_INGESTER_GRPC_PORT', 9095);
179
+ export const LOKI_QUERY_HTTP_PORT = intVar('LOKI_QUERY_HTTP_PORT', 3100);
181
180
  // control the percent of logs written to Loki while scaling up
182
181
  export const LOKI_WRITE_PCT = intVar('LOKI_WRITE_PCT', 0);
183
182
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/lib/config.ts"],"names":[],"mappings":"AACA,OAAO,EACN,OAAO,EACP,KAAK,EACL,MAAM,EACN,OAAO,EACP,WAAW,EACX,WAAW,EACX,OAAO,EACP,YAAY,EACZ,aAAa,EACb,QAAQ,GACR,MAAM,qBAAqB,CAAC;AAE7B,yEAAyE;AACzE,uEAAuE;AACvE,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,MAAM,CAAC,IAAI,OAAe,CAAC;AAC3B,MAA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AiB,EAAE,CAAC;QACpB,mCAAmC,GAAG,CAAC,CAAC;IACzC,CAAC;IACD,IAAI,+CAA+C,CAClD,CAAyD;QAEzD,iBAAiB,EAAE,CAAC;QACpB,+CAA+C,GAAG,CAAC,CAAC;IACrD,CAAC;IACD,IAAI,mBAAmB,CAAC,CAA6B;QACpD,iBAAiB,EAAE,CAAC;QACpB,mBAAmB,GAAG,CAAC,CAAC;IACzB,CAAC;IACD,IAAI,0CAA0C,CAC7C,CAAoD;QAEpD,iBAAiB,EAAE,CAAC;QACpB,0CAA0C,GAAG,CAAC,CAAC;IAChD,CAAC;IACD,IAAI,wBAAwB,CAAC,CAAkC;QAC9D,iBAAiB,EAAE,CAAC;QACpB,wBAAwB,GAAG,CAAC,CAAC;IAC9B,CAAC;CACD,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@balena/open-balena-api",
3
3
  "description": "Internet of things, Made Simple",
4
- "version": "30.2.9-build-renovate-major-11-uuid-cdbeb48e7007681436963ea772a999df403fff92-1",
4
+ "version": "31.0.0-build-loki-4bc898ab85a4e730c2fec5eae91ad6d9f5c24d73-1",
5
5
  "license": "AGPL-3.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -130,7 +130,7 @@
130
130
  "ts-node": "^10.9.2",
131
131
  "typed-error": "^3.2.2",
132
132
  "typescript": "^5.6.3",
133
- "uuid": "^11.0.0",
133
+ "uuid": "^10.0.0",
134
134
  "validator": "^13.12.0"
135
135
  },
136
136
  "devDependencies": {
@@ -167,6 +167,6 @@
167
167
  "loader": "ts-node/esm/transpile-only"
168
168
  },
169
169
  "versionist": {
170
- "publishedAt": "2024-10-30T16:08:10.557Z"
170
+ "publishedAt": "2024-10-31T12:38:52.654Z"
171
171
  }
172
172
  }