@forge/metrics 0.1.27 → 0.2.0-experimental-6adbba3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,125 @@
1
1
  # @forge/metrics
2
2
 
3
+ ## 0.2.0-experimental-6adbba3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [6a6312e]
8
+ - @forge/api@3.0.0-experimental-6adbba3
9
+
10
+ ## 0.2.0
11
+
12
+ ### Minor Changes
13
+
14
+ - b3245a7: - Add environmentType, invocationId, installationId in runtime V2 context
15
+ - Rename getRuntime to \_\_getRuntime in @forge/api
16
+ - Add new method getAppContext in @forge/api to retrieve app context data
17
+ - Replace @atlassian/cs-ari package with @atlassian/ari
18
+
19
+ ### Patch Changes
20
+
21
+ - 579c6a2: send metrics with the same name but different tags separately
22
+ - Updated dependencies [73e1aac]
23
+ - Updated dependencies [b3245a7]
24
+ - Updated dependencies [ace184d]
25
+ - Updated dependencies [44f1456]
26
+ - Updated dependencies [579c6a2]
27
+ - Updated dependencies [b04283b]
28
+ - Updated dependencies [f3ca9bf]
29
+ - Updated dependencies [bfb4b87]
30
+ - Updated dependencies [680e21f]
31
+ - Updated dependencies [16a7cf5]
32
+ - @forge/api@3.0.0
33
+ - @forge/runtime@5.3.0
34
+
35
+ ## 0.2.0-next.10
36
+
37
+ ### Patch Changes
38
+
39
+ - Updated dependencies [bfb4b87]
40
+ - @forge/runtime@5.3.0-next.6
41
+
42
+ ## 0.2.0-next.9
43
+
44
+ ### Patch Changes
45
+
46
+ - Updated dependencies [44f1456]
47
+ - @forge/runtime@5.3.0-next.5
48
+
49
+ ## 0.2.0-next.8
50
+
51
+ ### Patch Changes
52
+
53
+ - Updated dependencies [73e1aac]
54
+ - @forge/api@3.0.0-next.7
55
+ - @forge/runtime@5.3.0-next.4
56
+
57
+ ## 0.2.0-next.7
58
+
59
+ ### Patch Changes
60
+
61
+ - @forge/api@3.0.0-next.6
62
+
63
+ ## 0.2.0-next.6
64
+
65
+ ### Patch Changes
66
+
67
+ - Updated dependencies [b04283b]
68
+ - @forge/api@3.0.0-next.5
69
+
70
+ ## 0.2.0-next.5
71
+
72
+ ### Patch Changes
73
+
74
+ - Updated dependencies [16a7cf5]
75
+ - @forge/api@3.0.0-next.4
76
+ - @forge/runtime@5.3.0-next.3
77
+
78
+ ## 0.2.0-next.4
79
+
80
+ ### Patch Changes
81
+
82
+ - Updated dependencies [f3ca9bf]
83
+ - @forge/api@3.0.0-next.3
84
+
85
+ ## 0.2.0-next.3
86
+
87
+ ### Patch Changes
88
+
89
+ - 579c6a2: send metrics with the same name but different tags separately
90
+ - Updated dependencies [579c6a2]
91
+ - @forge/runtime@5.3.0-next.2
92
+ - @forge/api@3.0.0-next.2
93
+
94
+ ## 0.2.0-next.2
95
+
96
+ ### Patch Changes
97
+
98
+ - Updated dependencies [680e21f]
99
+ - @forge/runtime@5.3.0-next.1
100
+
101
+ ## 0.2.0-next.1
102
+
103
+ ### Minor Changes
104
+
105
+ - b3245a7: - Add environmentType, invocationId, installationId in runtime V2 context
106
+ - Rename getRuntime to \_\_getRuntime in @forge/api
107
+ - Add new method getAppContext in @forge/api to retrieve app context data
108
+ - Replace @atlassian/cs-ari package with @atlassian/ari
109
+
110
+ ### Patch Changes
111
+
112
+ - Updated dependencies [b3245a7]
113
+ - @forge/api@3.0.0-next.1
114
+ - @forge/runtime@5.3.0-next.0
115
+
116
+ ## 0.1.28-next.0
117
+
118
+ ### Patch Changes
119
+
120
+ - Updated dependencies [ace184d]
121
+ - @forge/api@2.23.0-next.0
122
+
3
123
  ## 0.1.27
4
124
 
5
125
  ### Patch Changes
@@ -17,7 +17,7 @@ class ExperimentalMetrics {
17
17
  return new data_types_1.ExperimentalCounter(metrics, name);
18
18
  }
19
19
  else {
20
- return (0, api_1.getRuntime)().metrics.counter(this.internalMetricName(name));
20
+ return (0, api_1.__getRuntime)().metrics.counter(this.internalMetricName(name));
21
21
  }
22
22
  }
23
23
  gauge(name) {
@@ -26,7 +26,7 @@ class ExperimentalMetrics {
26
26
  return new data_types_1.ExperimentalGauge(metrics, name);
27
27
  }
28
28
  else {
29
- return (0, api_1.getRuntime)().metrics.gauge(this.internalMetricName(name));
29
+ return (0, api_1.__getRuntime)().metrics.gauge(this.internalMetricName(name));
30
30
  }
31
31
  }
32
32
  timer(name) {
@@ -35,7 +35,7 @@ class ExperimentalMetrics {
35
35
  return new data_types_1.ExperimentalTimer(metrics, name);
36
36
  }
37
37
  else {
38
- return (0, api_1.getRuntime)().metrics.timing(this.internalMetricName(name));
38
+ return (0, api_1.__getRuntime)().metrics.timing(this.internalMetricName(name));
39
39
  }
40
40
  }
41
41
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/metrics",
3
- "version": "0.1.27",
3
+ "version": "0.2.0-experimental-6adbba3",
4
4
  "description": "Forge internal metrics",
5
5
  "author": "Atlassian",
6
6
  "license": "UNLICENSED",
@@ -12,7 +12,7 @@
12
12
  "compile": "tsc -b -v"
13
13
  },
14
14
  "dependencies": {
15
- "@forge/api": "2.22.1",
16
- "@forge/runtime": "5.2.3"
15
+ "@forge/api": "3.0.0-experimental-6adbba3",
16
+ "@forge/runtime": "5.3.0"
17
17
  }
18
18
  }