appdynamics 25.12.1 → 26.4.1
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/LICENSE.txt +5 -7
- package/appdynamics_version.json +3 -3
- package/lib/core/agent.js +20 -2
- package/lib/core/otel-config.js +1 -3
- package/package.json +5 -5
- package/packageBck.json +5 -5
package/LICENSE.txt
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
APPDYNAMICS
|
|
1
|
+
SPLUNK APPDYNAMICS
|
|
2
2
|
END USER LICENSE AGREEMENT
|
|
3
3
|
|
|
4
|
-
By accessing the
|
|
5
|
-
of
|
|
4
|
+
By accessing the software herein, you (and the organization you represent) acknowledge and agree that the use
|
|
5
|
+
of such software are governed by (as applicable): (1) the Cisco General Terms found at
|
|
6
6
|
https://www.cisco.com/c/dam/en_us/about/doing_business/legal/Cisco_General_Terms.pdf and the applicable Product
|
|
7
|
-
Specific Terms found at https://www.cisco.com/c/en/us/about/legal/cloud-and-software/software-terms.html or (2)
|
|
8
|
-
other superseding agreement between AppDynamics, or its parent company Cisco Systems, Inc., as applicable, and You.
|
|
9
|
-
References to End User in any superseding agreement shall mean You.
|
|
7
|
+
Specific Terms found at https://www.cisco.com/c/en/us/about/legal/cloud-and-software/software-terms.html; or (2) the Splunk General Terms found at https://www.splunk.com/en_us/legal/splunk-general-terms.html and the applicable Specific Offering Terms found at https://www.splunk.com/en_us/legal/splunk-specific-terms.html.
|
|
10
8
|
|
|
11
|
-
|
|
9
|
+
Cisco Proprietary and Confidential * Revision 07.2025
|
package/appdynamics_version.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
3
|
-
"sha": "
|
|
2
|
+
"version": "26.4.1.0",
|
|
3
|
+
"sha": "80b33b5b0d8085c37efb50ef9d41cde6c718a264",
|
|
4
4
|
"nodeVersion": "",
|
|
5
|
-
"buildName": "
|
|
5
|
+
"buildName": "11240",
|
|
6
6
|
"compatibilityVersion": "4.4.1.0"
|
|
7
7
|
}
|
package/lib/core/agent.js
CHANGED
|
@@ -240,9 +240,26 @@ Agent.prototype.init = function (opts) {
|
|
|
240
240
|
try {
|
|
241
241
|
const { start } = require('@splunk/otel');
|
|
242
242
|
const OtelConfig = require('./otel-config');
|
|
243
|
+
const { Resource } = require('@opentelemetry/resources');
|
|
244
|
+
|
|
243
245
|
start({
|
|
244
|
-
resource: (detectedResource) =>
|
|
245
|
-
|
|
246
|
+
resource: (detectedResource) => {
|
|
247
|
+
const appdResourceAttrs = new OtelConfig(opts).configResource();
|
|
248
|
+
|
|
249
|
+
let detectedAttrs = {};
|
|
250
|
+
if (typeof detectedResource.getRawAttributes === 'function') {
|
|
251
|
+
const rawAttrs = detectedResource.getRawAttributes();
|
|
252
|
+
for (const [key, value] of rawAttrs) {
|
|
253
|
+
detectedAttrs[key] = value;
|
|
254
|
+
}
|
|
255
|
+
} else if (detectedResource.attributes) {
|
|
256
|
+
detectedAttrs = Object.assign({}, detectedResource.attributes);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
const mergedAttrs = Object.assign({}, appdResourceAttrs, detectedAttrs);
|
|
260
|
+
|
|
261
|
+
return new Resource(mergedAttrs);
|
|
262
|
+
},
|
|
246
263
|
});
|
|
247
264
|
}
|
|
248
265
|
catch (err) {
|
|
@@ -755,3 +772,4 @@ exports = module.exports = new AppDynamics();
|
|
|
755
772
|
|
|
756
773
|
// export for testing
|
|
757
774
|
exports._setMetadataFile = setMetadataFile;
|
|
775
|
+
exports.Agent = Agent;
|
package/lib/core/otel-config.js
CHANGED
|
@@ -4,8 +4,6 @@ Copyright (c) AppDynamics, Inc., and its affiliates
|
|
|
4
4
|
All Rights Reserved
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
const { Resource } = require('@opentelemetry/resources');
|
|
8
|
-
|
|
9
7
|
module.exports = OtelConfig;
|
|
10
8
|
|
|
11
9
|
function OtelConfig(opts) {
|
|
@@ -37,7 +35,7 @@ OtelConfig.prototype.configResource = function() {
|
|
|
37
35
|
this.updateServiceNamespace(this.resourceAttributes, resource);
|
|
38
36
|
this.updateServiceName(this.resourceAttributes, resource);
|
|
39
37
|
this.updateDeploymentEnviromentName(this.resourceAttributes, resource);
|
|
40
|
-
return
|
|
38
|
+
return resource;
|
|
41
39
|
};
|
|
42
40
|
|
|
43
41
|
OtelConfig.prototype.updateServiceNamespace = function(attrs, resource) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appdynamics",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "26.4.1",
|
|
4
4
|
"description": "Performance Profiler and Monitor",
|
|
5
5
|
"author": "AppDynamics, Inc.",
|
|
6
6
|
"homepage": "https://www.appdynamics.com",
|
|
@@ -52,16 +52,16 @@
|
|
|
52
52
|
"https-proxy-agent": "^5.0.1",
|
|
53
53
|
"uuid": "^8.3.2",
|
|
54
54
|
"y18n": "^5.0.8",
|
|
55
|
-
"appdynamics-libagent-napi": "https://cdn.appdynamics.com/packages/nodejs/
|
|
56
|
-
"appdynamics-native": "https://cdn.appdynamics.com/packages/nodejs/
|
|
57
|
-
"appdynamics-protobuf": "https://cdn.appdynamics.com/packages/nodejs/
|
|
55
|
+
"appdynamics-libagent-napi": "https://cdn.appdynamics.com/packages/nodejs/26.4.1.0/appdynamics-libagent-napi-node.tgz",
|
|
56
|
+
"appdynamics-native": "https://cdn.appdynamics.com/packages/nodejs/26.4.1.0/appdynamics-native-node.tgz",
|
|
57
|
+
"appdynamics-protobuf": "https://cdn.appdynamics.com/packages/nodejs/26.4.1.0/appdynamics-protobuf-node.tgz"
|
|
58
58
|
},
|
|
59
59
|
"overrides": {
|
|
60
60
|
"semver": "7.5.4",
|
|
61
61
|
"@grpc/grpc-js": ">=1.10.9"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
|
-
"node": ">=12 <=
|
|
64
|
+
"node": ">=12 <=v25.*"
|
|
65
65
|
},
|
|
66
66
|
"engine-strict": true
|
|
67
67
|
}
|
package/packageBck.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appdynamics",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "26.4.1",
|
|
4
4
|
"description": "Performance Profiler and Monitor",
|
|
5
5
|
"author": "AppDynamics, Inc.",
|
|
6
6
|
"homepage": "https://www.appdynamics.com",
|
|
@@ -52,16 +52,16 @@
|
|
|
52
52
|
"https-proxy-agent": "^5.0.1",
|
|
53
53
|
"uuid": "^8.3.2",
|
|
54
54
|
"y18n": "^5.0.8",
|
|
55
|
-
"appdynamics-libagent-napi": "https://cdn.appdynamics.com/packages/nodejs/
|
|
56
|
-
"appdynamics-native": "https://cdn.appdynamics.com/packages/nodejs/
|
|
57
|
-
"appdynamics-protobuf": "https://cdn.appdynamics.com/packages/nodejs/
|
|
55
|
+
"appdynamics-libagent-napi": "https://cdn.appdynamics.com/packages/nodejs/26.4.1.0/appdynamics-libagent-napi-node.tgz",
|
|
56
|
+
"appdynamics-native": "https://cdn.appdynamics.com/packages/nodejs/26.4.1.0/appdynamics-native-node.tgz",
|
|
57
|
+
"appdynamics-protobuf": "https://cdn.appdynamics.com/packages/nodejs/26.4.1.0/appdynamics-protobuf-node.tgz"
|
|
58
58
|
},
|
|
59
59
|
"overrides": {
|
|
60
60
|
"semver": "7.5.4",
|
|
61
61
|
"@grpc/grpc-js": ">=1.10.9"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
|
-
"node": ">=12 <=
|
|
64
|
+
"node": ">=12 <=v25.*"
|
|
65
65
|
},
|
|
66
66
|
"engine-strict": true
|
|
67
67
|
}
|