Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
67c15f8
update type definitions
EmilianoSanchez May 4, 2022
7b264bf
update platform object with now function
EmilianoSanchez May 4, 2022
2f64724
telemetry endpoint
EmilianoSanchez May 4, 2022
c6e67c6
updated impressionsRefreshRate
EmilianoSanchez May 5, 2022
45ff05a
mock telemetry requests in NodeJS E2E tests
EmilianoSanchez May 6, 2022
5bc9fc7
Merge branch 'development' into telemetry_v2
EmilianoSanchez May 6, 2022
e6f90ff
extend E2E tests in consumer mode with redis
EmilianoSanchez May 16, 2022
06b107c
Merge branch 'development' into telemetry_v2_type_definitions
EmilianoSanchez May 16, 2022
ff63012
Merge branch 'telemetry_v2_type_definitions' into telemetry_v2
EmilianoSanchez May 16, 2022
0c97907
extend E2E tests in standalone mode for NodeJS
EmilianoSanchez May 17, 2022
b9c6976
E2E tests for telemetry in client-side/browser
EmilianoSanchez May 17, 2022
e2b5aa0
prepare rc
EmilianoSanchez May 17, 2022
bbf6e50
Merge branch 'telemetry_v2_type_definitions' into telemetry_v2_e2e_tests
EmilianoSanchez May 17, 2022
eb64dfd
removed old metricsRefreshRate config from tests
EmilianoSanchez May 17, 2022
2e9c327
Merge branch 'telemetry_v2_e2e_tests' into telemetry_v2
EmilianoSanchez May 17, 2022
bb78ea7
polishing on test configs
EmilianoSanchez May 17, 2022
03f0a2d
Merge branch 'telemetry_v2_e2e_tests' into telemetry_v2
EmilianoSanchez May 17, 2022
6a6f4e8
update telemetry test
EmilianoSanchez May 17, 2022
4b4af24
Merge pull request #668 from splitio/telemetry_v2
EmilianoSanchez May 20, 2022
7569fcc
Merge pull request #673 from splitio/telemetry_v2_e2e_tests
EmilianoSanchez May 20, 2022
8b9cb07
rc
EmilianoSanchez May 20, 2022
713c4b9
rc
EmilianoSanchez May 23, 2022
fbf089b
rc
EmilianoSanchez May 24, 2022
a2c26ab
stable version
EmilianoSanchez May 24, 2022
a9ed88d
Merge pull request #674 from splitio/release_v10.19.0
EmilianoSanchez May 24, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
10.19.0 (May 24, 2022)
- Added `scheduler.telemetryRefreshRate` property to SDK configuration, and deprecated `scheduler.metricsRefreshRate` property.
- Updated SDK telemetry storage, metrics and updater to be more effective and send less often.
- Bugfixing - Updated default values for `scheduler.impressionsRefreshRate` config parameter: 300s for OPTIMIZED impression mode and 60s for DEBUG impression mode,
in both Browser and NodeJS (previously it was 60s and 300s in Browser and NodeJS respectively, equal for DEBUG and OPTIMIZED impression modes).

10.18.2 (May 6, 2022)
- Bugfixing - Removed "ip" dependency to use an inline copy of it that fixes an error when using it in Node v18 (https://github.com/indutny/node-ip/issues/113).

Expand Down
26 changes: 13 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@splitsoftware/splitio",
"version": "10.18.2",
"version": "10.19.0",
"description": "Split SDK",
"files": [
"README.md",
Expand Down Expand Up @@ -32,7 +32,7 @@
"node": ">=6"
},
"dependencies": {
"@splitsoftware/splitio-commons": "1.3.1",
"@splitsoftware/splitio-commons": "1.4.0",
"@types/google.analytics": "0.0.40",
"@types/ioredis": "^4.28.0",
"ioredis": "^4.28.0",
Expand Down
10 changes: 3 additions & 7 deletions src/__tests__/browser.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { url } from './testUtils';
import evaluationsSuite from './browserSuites/evaluations.spec';
import impressionsSuite from './browserSuites/impressions.spec';
import impressionsSuiteDebug from './browserSuites/impressions.debug.spec';
// import metricsSuite from './browserSuites/metrics.spec';
import telemetrySuite from './browserSuites/telemetry.spec';
import impressionsListenerSuite from './browserSuites/impressions-listener.spec';
import readinessSuite from './browserSuites/readiness.spec';
import readyFromCache from './browserSuites/ready-from-cache.spec';
Expand Down Expand Up @@ -45,7 +45,6 @@ const configInMemory = {
scheduler: {
featuresRefreshRate: 1,
segmentsRefreshRate: 1,
metricsRefreshRate: 3000, // for now I don't want to publish metrics during E2E run.
impressionsRefreshRate: 3000 // for now I don't want to publish impressions during E2E run.
},
streamingEnabled: false
Expand All @@ -62,7 +61,6 @@ const configInMemoryWithBucketingKey = {
scheduler: {
featuresRefreshRate: 1,
segmentsRefreshRate: 1,
metricsRefreshRate: 3000, // for now I don't want to publish metrics during E2E run.
impressionsRefreshRate: 3000 // for now I don't want to publish impressions during E2E run.
},
streamingEnabled: false
Expand All @@ -76,7 +74,6 @@ const configInLocalStorage = {
scheduler: {
featuresRefreshRate: 1,
segmentsRefreshRate: 1,
metricsRefreshRate: 3000, // for now I don't want to publish metrics during E2E run.
impressionsRefreshRate: 3000 // for now I don't want to publish impressions during E2E run.
},
storage: {
Expand Down Expand Up @@ -108,9 +105,8 @@ tape('## E2E CI Tests ##', function(assert) {
assert.test('E2E / Impressions Debug Mode', impressionsSuiteDebug.bind(null, fetchMock));
/* Check impression listener */
assert.test('E2E / Impression listener', impressionsListenerSuite);
/* Check metrics */
// @TODO uncomment when telemetry is implemented
// assert.test('E2E / Metrics', metricsSuite.bind(null, fetchMock));
/* Check telemetry */
assert.test('E2E / Telemetry', telemetrySuite.bind(null, fetchMock));
/* Check events */
assert.test('E2E / Events', withoutBindingTT.bind(null, fetchMock));
assert.test('E2E / Events with TT binded', bindingTT.bind(null, fetchMock));
Expand Down
1 change: 0 additions & 1 deletion src/__tests__/browserSuites/events.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const baseSettings = {
scheduler: {
featuresRefreshRate: 1,
segmentsRefreshRate: 1,
metricsRefreshRate: 3000,
impressionsRefreshRate: 3000,
eventsPushRate: 3000
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const HEADER_SPLITSDKMACHINENAME = 'SplitSDKMachineName';
// Refresh rates are set to 1 second to finish the test quickly. Otherwise, it would finish in 1 minute (60 seconds is the default value)
const baseConfig = {
scheduler: {
metricsRefreshRate: 1,
impressionsRefreshRate: 1,
eventsPushRate: 1
},
Expand Down Expand Up @@ -71,9 +70,6 @@ const configSamples = [
const postEndpoints = [
'/events/bulk',
'/testImpressions/bulk',
// @TODO uncomment when telemetry is implemented
// '/metrics/times',
// '/metrics/counters'
];

export default function (fetchMock, assert) {
Expand Down
1 change: 0 additions & 1 deletion src/__tests__/browserSuites/impressions-listener.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const config = {
scheduler: {
featuresRefreshRate: 1,
segmentsRefreshRate: 1,
metricsRefreshRate: 3000,
impressionsRefreshRate: 3000
},
startup: {
Expand Down
1 change: 0 additions & 1 deletion src/__tests__/browserSuites/impressions.debug.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export default function (fetchMock, assert) {
scheduler: {
featuresRefreshRate: 0.5,
segmentsRefreshRate: 0.5,
metricsRefreshRate: 3000,
impressionsRefreshRate: 3000,
impressionsQueueSize: 3 // flush impressions when 3 are queued
},
Expand Down
1 change: 0 additions & 1 deletion src/__tests__/browserSuites/impressions.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export default function (fetchMock, assert) {
scheduler: {
featuresRefreshRate: 0.5,
segmentsRefreshRate: 0.5,
metricsRefreshRate: 3000,
impressionsRefreshRate: 0.5
},
startup: {
Expand Down
155 changes: 0 additions & 155 deletions src/__tests__/browserSuites/metrics.spec.js

This file was deleted.

1 change: 0 additions & 1 deletion src/__tests__/browserSuites/push-fallbacking.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ const config = {
scheduler: {
featuresRefreshRate: 0.2,
segmentsRefreshRate: 0.25,
metricsRefreshRate: 3000,
impressionsRefreshRate: 3000
},
urls: baseUrls,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const config = {
scheduler: {
featuresRefreshRate: 0.1,
segmentsRefreshRate: 0.1,
metricsRefreshRate: 3000,
impressionsRefreshRate: 3000,
pushRetryBackoffBase: 0.01 // small value to assert rapidly that push is not retried
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const config = {
scheduler: {
featuresRefreshRate: 0.2,
segmentsRefreshRate: 0.2,
metricsRefreshRate: 3000,
impressionsRefreshRate: 3000,
pushRetryBackoffBase: 0.1
},
Expand Down
Loading