Skip to content

Commit 61894e4

Browse files
authored
Merge branch 'main' into changesets-release/orchestrator/main
2 parents 7c9baf8 + eb5cb51 commit 61894e4

File tree

42 files changed

+1181
-31
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1181
-31
lines changed

workspaces/adoption-insights/.changeset/gentle-pears-begin.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

workspaces/adoption-insights/plugins/adoption-insights-backend/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @red-hat-developer-hub/backstage-plugin-adoption-insights-backend
22

3+
## 0.6.1
4+
5+
### Patch Changes
6+
7+
- 3cf4c58: Mark the app-config `app.analytics.adoptionInsights` option as optional. It was already read with getOptional<Number/Boolean> so there is no code change or configuration change needed, this just reflect the status quo better.
8+
- @red-hat-developer-hub/backstage-plugin-adoption-insights[email protected]
9+
310
## 0.6.0
411

512
### Minor Changes

workspaces/adoption-insights/plugins/adoption-insights-backend/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,15 @@ backend.add(
2323

2424
## Configuration
2525

26+
The following optional configuration parameters are available to fine tune adoption analytics events:
27+
2628
```yaml
2729
app:
2830
analytics:
2931
adoptionInsights:
30-
maxBufferSize: 25
31-
flushInterval: 6000
32-
debug: false # enable this to debug
32+
maxBufferSize: 20 # Optional: Maximum buffer size for event batching (default: 20)
33+
flushInterval: 5000 # Optional: Flush interval in milliseconds for event batching (default: 5000ms)
34+
debug: false # Optional: Enable debug mode to log every event in the browser console (default: false)
3335
licensedUsers: 100 # Administrators can set this value to see the user adoption metrics.
3436
```
3537

workspaces/adoption-insights/plugins/adoption-insights-backend/config.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
export interface Config {
1818
app?: {
19-
analytics: {
20-
adoptionInsights: {
19+
analytics?: {
20+
adoptionInsights?: {
2121
/**
2222
* Maximum buffer size for event batching.
2323
* default 20

workspaces/adoption-insights/plugins/adoption-insights-backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@red-hat-developer-hub/backstage-plugin-adoption-insights-backend",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"license": "Apache-2.0",
55
"main": "src/index.ts",
66
"types": "src/index.ts",

workspaces/adoption-insights/plugins/adoption-insights-common/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# @red-hat-developer-hub/backstage-plugin-adoption-insights-common
22

3+
## 0.6.1
4+
35
## 0.6.0
46

57
### Minor Changes

workspaces/adoption-insights/plugins/adoption-insights-common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@red-hat-developer-hub/backstage-plugin-adoption-insights-common",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"license": "Apache-2.0",
55
"description": "Common functionalities for the adoption-insights plugin",
66
"main": "src/index.ts",

workspaces/adoption-insights/plugins/adoption-insights/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @red-hat-developer-hub/backstage-plugin-adoption-insights
22

3+
## 0.6.1
4+
5+
### Patch Changes
6+
7+
- 2e866af: Updated to 4-digit year format for all dates
8+
- @red-hat-developer-hub/backstage-plugin-adoption-insights[email protected]
9+
310
## 0.6.0
411

512
### Minor Changes

workspaces/adoption-insights/plugins/adoption-insights/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@red-hat-developer-hub/backstage-plugin-adoption-insights",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"license": "Apache-2.0",
55
"main": "src/index.ts",
66
"types": "src/index.ts",

workspaces/adoption-insights/plugins/analytics-module-adoption-insights/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @red-hat-developer-hub/backstage-plugin-analytics-module-adoption-insights
22

3+
## 0.6.1
4+
5+
### Patch Changes
6+
7+
- 3cf4c58: Mark the app-config `app.analytics.adoptionInsights` option as optional. It was already read with getOptional<Number/Boolean> so there is no code change or configuration change needed, this just reflect the status quo better.
8+
39
## 0.6.0
410

511
### Minor Changes

0 commit comments

Comments
 (0)