Skip to content

Commit d122a99

Browse files
authored
Increase metrics client interval and timeout (#623)
* Increase metrics client interval and timeout * Release v7.2.7 This version has increased metrics client interval and timeout settings
1 parent 8b54a67 commit d122a99

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
## [7.2.7] - 2025-12-04
11+
### Changed
12+
- Increased metrics client interval from 5s to 60s and timeout from 5s to 60s
13+
1014
## [7.2.6] - 2025-11-05
1115
### Changed
1216
- Enhance the translation utilities by introducing a new state marker for translatable message strings, updating the parsing and formatting logic to handle this marker and ensuring that already translated messages are bypassed further processing

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vtex/api",
3-
"version": "7.2.6",
3+
"version": "7.2.7",
44
"description": "VTEX I/O API client",
55
"main": "lib/index.js",
66
"typings": "lib/index.d.ts",

src/service/telemetry/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ class TelemetryClientSingleton {
4444
await telemetryClient.newMetricsClient({
4545
exporter: Exporters.CreateExporter(Exporters.CreateMetricsExporterConfig({
4646
endpoint: OTEL_EXPORTER_OTLP_ENDPOINT,
47-
interval: 5,
48-
timeoutSeconds: 5,
47+
interval: 60,
48+
timeoutSeconds: 60,
4949
}), 'otlp'),
5050
});
5151

0 commit comments

Comments
 (0)