datadog-frontend-toolkit 1.0.36 → 1.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/resources/templates/slos.js +1 -1
- package/dist/cjs/resources/templates/slos.js.map +1 -1
- package/dist/esm/resources/templates/slos.js +1 -1
- package/dist/esm/resources/templates/slos.js.map +1 -1
- package/dist/resources/templates/slos.js +1 -1
- package/dist/resources/templates/slos.js.map +1 -1
- package/package.json +1 -1
|
@@ -24,7 +24,7 @@ function buildSloTemplates(service, env, _monitorIds, team) {
|
|
|
24
24
|
// SLO 1: Frontend Availability — error-free page views / total page views
|
|
25
25
|
{
|
|
26
26
|
name: `${service} (${env}) - Frontend Availability`,
|
|
27
|
-
description: 'Measures frontend availability as the ratio of error-free page views to total page views.
|
|
27
|
+
description: 'Measures frontend availability as the ratio of error-free page views to total page views. A negative error budget indicates the service has more JS errors than the target allows — this is a real signal, not a bug. Managed by datadog-frontend-toolkit.',
|
|
28
28
|
type: 'metric',
|
|
29
29
|
query: {
|
|
30
30
|
numerator: `sum:rum.measure.view.error_free{service:${service},env:${env}}.as_count()`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slos.js","sourceRoot":"","sources":["../../../../src/resources/templates/slos.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;AAeH,8CA4DC;AA5DD,SAAgB,iBAAiB,CAC/B,OAAe,EACf,GAAW,EACX,WAA2C,EAC3C,IAAa;IAEb,MAAM,IAAI,GAAG;QACX,WAAW,OAAO,EAAE;QACpB,OAAO,GAAG,EAAE;QACZ,kCAAkC;QAClC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;KAClC,CAAC;IAEF,OAAO;QACL,0EAA0E;QAC1E;YACE,IAAI,EAAE,GAAG,OAAO,KAAK,GAAG,2BAA2B;YACnD,WAAW,EACT,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6BACtF;yBACF;qBACF;oBACD,UAAU,EAAE,GAAG;oBACf,SAAS,EAAE,UAAU;oBACrB,sBAAsB,EAAE,GAAG;iBAC5B;aACF;YACD,UAAU,EAAE;gBACV,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;gBAC5C,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;aAC9C;YACD,IAAI;SACL;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -21,7 +21,7 @@ export function buildSloTemplates(service, env, _monitorIds, team) {
|
|
|
21
21
|
// SLO 1: Frontend Availability — error-free page views / total page views
|
|
22
22
|
{
|
|
23
23
|
name: `${service} (${env}) - Frontend Availability`,
|
|
24
|
-
description: 'Measures frontend availability as the ratio of error-free page views to total page views.
|
|
24
|
+
description: 'Measures frontend availability as the ratio of error-free page views to total page views. A negative error budget indicates the service has more JS errors than the target allows — this is a real signal, not a bug. Managed by datadog-frontend-toolkit.',
|
|
25
25
|
type: 'metric',
|
|
26
26
|
query: {
|
|
27
27
|
numerator: `sum:rum.measure.view.error_free{service:${service},env:${env}}.as_count()`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slos.js","sourceRoot":"","sources":["../../../../src/resources/templates/slos.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAeH,MAAM,UAAU,iBAAiB,CAC/B,OAAe,EACf,GAAW,EACX,WAA2C,EAC3C,IAAa;IAEb,MAAM,IAAI,GAAG;QACX,WAAW,OAAO,EAAE;QACpB,OAAO,GAAG,EAAE;QACZ,kCAAkC;QAClC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;KAClC,CAAC;IAEF,OAAO;QACL,0EAA0E;QAC1E;YACE,IAAI,EAAE,GAAG,OAAO,KAAK,GAAG,2B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AAG,GAAG;6BACtF;yBACF;qBACF;oBACD,UAAU,EAAE,GAAG;oBACf,SAAS,EAAE,UAAU;oBACrB,sBAAsB,EAAE,GAAG;iBAC5B;aACF;YACD,UAAU,EAAE;gBACV,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;gBAC5C,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;aAC9C;YACD,IAAI;SACL;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -24,7 +24,7 @@ function buildSloTemplates(service, env, _monitorIds, team) {
|
|
|
24
24
|
// SLO 1: Frontend Availability — error-free page views / total page views
|
|
25
25
|
{
|
|
26
26
|
name: `${service} (${env}) - Frontend Availability`,
|
|
27
|
-
description: 'Measures frontend availability as the ratio of error-free page views to total page views.
|
|
27
|
+
description: 'Measures frontend availability as the ratio of error-free page views to total page views. A negative error budget indicates the service has more JS errors than the target allows — this is a real signal, not a bug. Managed by datadog-frontend-toolkit.',
|
|
28
28
|
type: 'metric',
|
|
29
29
|
query: {
|
|
30
30
|
numerator: `sum:rum.measure.view.error_free{service:${service},env:${env}}.as_count()`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slos.js","sourceRoot":"","sources":["../../../src/resources/templates/slos.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;AAeH,8CA4DC;AA5DD,SAAgB,iBAAiB,CAC/B,OAAe,EACf,GAAW,EACX,WAA2C,EAC3C,IAAa;IAEb,MAAM,IAAI,GAAG;QACX,WAAW,OAAO,EAAE;QACpB,OAAO,GAAG,EAAE;QACZ,kCAAkC;QAClC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;KAClC,CAAC;IAEF,OAAO;QACL,0EAA0E;QAC1E;YACE,IAAI,EAAE,GAAG,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K,EAAE,yDAAyD,OAAO,QAAQ,GAAG,GAAG;6BACtF;yBACF;qBACF;oBACD,UAAU,EAAE,GAAG;oBACf,SAAS,EAAE,UAAU;oBACrB,sBAAsB,EAAE,GAAG;iBAC5B;aACF;YACD,UAAU,EAAE;gBACV,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;gBAC5C,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;aAC9C;YACD,IAAI;SACL;KACF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "datadog-frontend-toolkit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.38",
|
|
4
4
|
"description": "Enterprise-grade, framework-agnostic frontend observability toolkit for Datadog. Auto-instruments RUM, Logs, Error Tracking, Performance Monitoring, and provisions Dashboards, Monitors & SLOs.",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|