@salesforce/cli 2.159.1 → 2.159.3

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.
Files changed (66) hide show
  1. package/README.md +15 -15
  2. package/node_modules/@oclif/plugin-commands/README.md +2 -2
  3. package/node_modules/@oclif/plugin-commands/oclif.manifest.json +1 -1
  4. package/node_modules/@oclif/plugin-commands/package.json +2 -2
  5. package/node_modules/@oclif/plugin-help/README.md +1 -1
  6. package/node_modules/@oclif/plugin-help/oclif.manifest.json +1 -1
  7. package/node_modules/@oclif/plugin-help/package.json +3 -3
  8. package/node_modules/@oclif/plugin-plugins/README.md +7 -7
  9. package/node_modules/@oclif/plugin-plugins/oclif.manifest.json +1 -1
  10. package/node_modules/@oclif/plugin-plugins/package.json +2 -2
  11. package/node_modules/@oclif/plugin-version/README.md +1 -1
  12. package/node_modules/@oclif/plugin-version/oclif.manifest.json +1 -1
  13. package/node_modules/@oclif/plugin-version/package.json +4 -4
  14. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.cjs +1461 -176
  15. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.cjs.map +1 -1
  16. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.d.cts +1363 -171
  17. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.d.cts.map +1 -1
  18. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.d.mts +1363 -171
  19. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.d.mts.map +1 -1
  20. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.mjs +1363 -171
  21. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.mjs.map +1 -1
  22. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.cjs +1 -1
  23. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.cjs.map +1 -1
  24. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.d.cts +1 -1
  25. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.d.mts +1 -1
  26. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.mjs +1 -1
  27. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.mjs.map +1 -1
  28. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.cjs +382 -95
  29. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.cjs.map +1 -1
  30. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.d.cts +358 -94
  31. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.d.cts.map +1 -1
  32. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.d.mts +358 -94
  33. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.d.mts.map +1 -1
  34. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.mjs +358 -94
  35. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.mjs.map +1 -1
  36. package/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.cjs +132 -8
  37. package/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.d.cts +5 -5
  38. package/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.d.mts +5 -5
  39. package/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.mjs +5 -5
  40. package/node_modules/@opentelemetry/semantic-conventions/dist/index.cjs +8 -0
  41. package/node_modules/@opentelemetry/semantic-conventions/dist/index.d.cts +3 -3
  42. package/node_modules/@opentelemetry/semantic-conventions/dist/index.d.mts +3 -3
  43. package/node_modules/@opentelemetry/semantic-conventions/dist/index.mjs +3 -3
  44. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.cjs +104 -13
  45. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.cjs.map +1 -1
  46. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.d.cts +99 -14
  47. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.d.cts.map +1 -1
  48. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.d.mts +99 -14
  49. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.d.mts.map +1 -1
  50. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.mjs +99 -14
  51. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.mjs.map +1 -1
  52. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.cjs +16 -0
  53. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.cjs.map +1 -1
  54. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.d.cts +15 -1
  55. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.d.cts.map +1 -1
  56. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.d.mts +15 -1
  57. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.d.mts.map +1 -1
  58. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.mjs +15 -1
  59. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.mjs.map +1 -1
  60. package/node_modules/@opentelemetry/semantic-conventions/package.json +2 -2
  61. package/node_modules/@salesforce/plugin-trust/README.md +4 -4
  62. package/node_modules/@salesforce/plugin-trust/oclif.manifest.json +1 -1
  63. package/node_modules/@salesforce/plugin-trust/package.json +3 -3
  64. package/node_modules/@salesforce/sf-plugins-core/package.json +1 -1
  65. package/oclif.manifest.json +1 -1
  66. package/package.json +10 -10
@@ -119,7 +119,7 @@ const ATTR_ASPNETCORE_USER_IS_AUTHENTICATED = "aspnetcore.user.is_authenticated"
119
119
  * @example 10.1.2.80
120
120
  * @example /tmp/my.sock
121
121
  *
122
- * @note When observed from the server side, and when communicating through an intermediary, `client.address` **SHOULD** represent the client address behind any intermediaries, for example proxies, if it's available.
122
+ * @note When observed from the server side, and when communicating through an intermediary, `client.address` **SHOULD** represent the client address behind any intermediaries, for example proxies, if it's available.
123
123
  */
124
124
  const ATTR_CLIENT_ADDRESS = "client.address";
125
125
  /**
@@ -127,7 +127,7 @@ const ATTR_CLIENT_ADDRESS = "client.address";
127
127
  *
128
128
  * @example 65123
129
129
  *
130
- * @note When observed from the server side, and when communicating through an intermediary, `client.port` **SHOULD** represent the client port behind any intermediaries, for example proxies, if it's available.
130
+ * @note When observed from the server side, and when communicating through an intermediary, `client.port` **SHOULD** represent the client port behind any intermediaries, for example proxies, if it's available.
131
131
  */
132
132
  const ATTR_CLIENT_PORT = "client.port";
133
133
  /**
@@ -217,8 +217,9 @@ const ATTR_CONTAINER_IMAGE_TAGS = "container.image.tags";
217
217
  * when the database system supports query text with multiple collections
218
218
  * in non-batch operations.
219
219
  *
220
- * For batch operations, if the individual operations are known to have the same
221
- * collection name then that collection name **SHOULD** be used.
220
+ * For batch operations, if the individual operations would all have the same
221
+ * `db.collection.name` when executed as non-batch operations,
222
+ * then that collection name **SHOULD** be used.
222
223
  */
223
224
  const ATTR_DB_COLLECTION_NAME = "db.collection.name";
224
225
  /**
@@ -280,9 +281,10 @@ const ATTR_DB_OPERATION_BATCH_SIZE = "db.operation.batch.size";
280
281
  * If spaces can occur in the operation name, multiple consecutive spaces
281
282
  * **SHOULD** be normalized to a single space.
282
283
  *
283
- * For batch operations, if the individual operations are known to have the same operation name
284
- * then that operation name **SHOULD** be used prepended by `BATCH `,
285
- * otherwise `db.operation.name` **SHOULD** be `BATCH` or some other database
284
+ * For batch operations, if the individual operations would all have the same
285
+ * `db.operation.name` when executed as non-batch operations,
286
+ * then that operation name **SHOULD** be used prepended by `BATCH `.
287
+ * Otherwise, `db.operation.name` **SHOULD** be `BATCH` or some other database
286
288
  * system specific term if more applicable.
287
289
  */
288
290
  const ATTR_DB_OPERATION_NAME = "db.operation.name";
@@ -303,9 +305,10 @@ const ATTR_DB_OPERATION_NAME = "db.operation.name";
303
305
  * [Generating query summary](/docs/db/database-spans.md#generating-a-summary-of-the-query)
304
306
  * section.
305
307
  *
306
- * For batch operations, if the individual operations are known to have the same query summary
307
- * then that query summary **SHOULD** be used prepended by `BATCH `,
308
- * otherwise `db.query.summary` **SHOULD** be `BATCH` or some other database
308
+ * For batch operations, if the individual operations would all have the same
309
+ * `db.query.summary` when executed as non-batch operations,
310
+ * then that query summary **SHOULD** be used prepended by `BATCH `.
311
+ * Otherwise, `db.query.summary` **SHOULD** be `BATCH` or some other database
309
312
  * system specific term if more applicable.
310
313
  */
311
314
  const ATTR_DB_QUERY_SUMMARY = "db.query.summary";
@@ -316,7 +319,7 @@ const ATTR_DB_QUERY_SUMMARY = "db.query.summary";
316
319
  * @example SET mykey ?
317
320
  *
318
321
  * @note For sanitization see [Sanitization of `db.query.text`](/docs/db/database-spans.md#sanitization-of-dbquerytext).
319
- * For batch operations, if the individual operations are known to have the same query text then that query text **SHOULD** be used, otherwise all of the individual query texts **SHOULD** be concatenated with separator `; ` or some other database system specific separator if more applicable.
322
+ * For batch operations, if the individual operations would all have the same `db.query.text` when executed as non-batch operations, then that query text **SHOULD** be used. Otherwise, all of the individual query texts **SHOULD** be concatenated with separator `; ` or some other database system specific separator if more applicable.
320
323
  * Parameterized query text **SHOULD NOT** be sanitized. Even though parameterized query text can potentially have sensitive data, by using a parameterized query the user is giving a strong signal that any sensitive data will be passed as parameter values, and the benefit to observability of capturing the static part of the query text by default outweighs the risk.
321
324
  */
322
325
  const ATTR_DB_QUERY_TEXT = "db.query.text";
@@ -329,6 +332,7 @@ const ATTR_DB_QUERY_TEXT = "db.query.text";
329
332
  * @example 404
330
333
  *
331
334
  * @note The status code returned by the database. Usually it represents an error code, but may also represent partial success, warning, or differentiate between various types of successful outcomes.
335
+ * The value **MAY** use a standardized string representation of a numeric status code, if one exists, instead of the numeric code. The value **MAY** be a synthetic status provided by the client library rather than returned by the remote service.
332
336
  * Semantic conventions for individual database systems **SHOULD** document what `db.response.status_code` means in the context of that system.
333
337
  */
334
338
  const ATTR_DB_RESPONSE_STATUS_CODE = "db.response.status_code";
@@ -340,8 +344,9 @@ const ATTR_DB_RESPONSE_STATUS_CODE = "db.response.status_code";
340
344
  * @note It is **RECOMMENDED** to capture the value as provided by the application
341
345
  * without attempting to do any case normalization.
342
346
  *
343
- * For batch operations, if the individual operations are known to have the same
344
- * stored procedure name then that stored procedure name **SHOULD** be used.
347
+ * For batch operations, if the individual operations would all have the same
348
+ * `db.stored_procedure.name` when executed as non-batch operations,
349
+ * then that stored procedure name **SHOULD** be used.
345
350
  */
346
351
  const ATTR_DB_STORED_PROCEDURE_NAME = "db.stored_procedure.name";
347
352
  /**
@@ -1405,6 +1410,74 @@ const OTEL_STATUS_CODE_VALUE_OK = "OK";
1405
1410
  */
1406
1411
  const ATTR_OTEL_STATUS_DESCRIPTION = "otel.status_description";
1407
1412
  /**
1413
+ * The fully-qualified logical name of the method from the RPC interface perspective.
1414
+ *
1415
+ * @example com.example.ExampleService/exampleMethod
1416
+ * @example EchoService/Echo
1417
+ * @example _OTHER
1418
+ *
1419
+ * @note The method name **MAY** have unbounded cardinality in edge or error cases.
1420
+ *
1421
+ * Some RPC frameworks or libraries provide a fixed set of recognized methods
1422
+ * for client stubs and server implementations. Instrumentations for such
1423
+ * frameworks **MUST** set this attribute to the original method name only
1424
+ * when the method is recognized by the framework or library.
1425
+ *
1426
+ * When the method is not recognized, for example, when the server receives
1427
+ * a request for a method that is not predefined on the server, or when
1428
+ * instrumentation is not able to reliably detect if the method is predefined,
1429
+ * the attribute **MUST** be set to `_OTHER`.
1430
+ *
1431
+ * If the RPC instrumentation could end up converting valid RPC methods to
1432
+ * `_OTHER`, then it **SHOULD** provide a way to configure the list of recognized
1433
+ * RPC methods.
1434
+ *
1435
+ * The `rpc.method` can be different from the name of any implementing
1436
+ * method/function.
1437
+ * The `code.function.name` attribute may be used to record the fully-qualified
1438
+ * method actually executing the call on the server side, or the
1439
+ * RPC client stub method on the client side.
1440
+ */
1441
+ const ATTR_RPC_METHOD = "rpc.method";
1442
+ /**
1443
+ * The original name of the method used by the client.
1444
+ *
1445
+ * @example com.myservice.EchoService/catchAll
1446
+ * @example com.myservice.EchoService/unknownMethod
1447
+ * @example InvalidMethod
1448
+ */
1449
+ const ATTR_RPC_METHOD_ORIGINAL = "rpc.method_original";
1450
+ /**
1451
+ * Status code of the RPC returned by the RPC server or generated by the client
1452
+ *
1453
+ * @example OK
1454
+ * @example DEADLINE_EXCEEDED
1455
+ * @example -32602
1456
+ *
1457
+ * @note Usually it represents an error code, but may also represent partial success, warning, or differentiate between various types of successful outcomes.
1458
+ * The value **MAY** use a standardized string representation of a numeric status code, if one exists, instead of the numeric code. The value **MAY** be a synthetic status provided by the client library rather than returned by the remote service.
1459
+ * Semantic conventions for individual RPC frameworks **SHOULD** document what `rpc.status_code` means in the context of that system and which values are considered to represent errors.
1460
+ */
1461
+ const ATTR_RPC_STATUS_CODE = "rpc.status_code";
1462
+ /**
1463
+ * The Remote Procedure Call (RPC) system.
1464
+ *
1465
+ * @note The client and server RPC systems may differ for the same RPC interaction. For example, a client may use Apache Dubbo or Connect RPC to communicate with a server that uses gRPC since both protocols provide compatibility with gRPC.
1466
+ */
1467
+ const ATTR_RPC_SYSTEM_NAME = "rpc.system.name";
1468
+ /**
1469
+ * Enum value "dubbo" for attribute {@link ATTR_RPC_SYSTEM_NAME}.
1470
+ *
1471
+ * [Apache Dubbo](https://dubbo.apache.org/)
1472
+ */
1473
+ const RPC_SYSTEM_NAME_VALUE_DUBBO = "dubbo";
1474
+ /**
1475
+ * Enum value "grpc" for attribute {@link ATTR_RPC_SYSTEM_NAME}.
1476
+ *
1477
+ * [gRPC](https://grpc.io/)
1478
+ */
1479
+ const RPC_SYSTEM_NAME_VALUE_GRPC = "grpc";
1480
+ /**
1408
1481
  * Server domain name if available without reverse DNS lookup; otherwise, IP address or UNIX domain socket name.
1409
1482
  *
1410
1483
  * @example example.com
@@ -1676,9 +1749,15 @@ const ATTR_URL_FRAGMENT = "url.fragment";
1676
1749
  * - [`X-Amz-Signature`](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv-authentication-methods.html)
1677
1750
  * - [`X-Amz-Credential`](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv-authentication-methods.html)
1678
1751
  * - [`X-Amz-Security-Token`](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv-authentication-methods.html)
1752
+ * - [`AWSAccessKeyId`](https://docs.aws.amazon.com/AmazonS3/latest/developerguide/RESTAuthentication.html#RESTAuthenticationQueryStringAuth)
1753
+ * - [`Signature`](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-canned-policy.html)
1679
1754
  * - [`sig`](https://learn.microsoft.com/azure/storage/common/storage-sas-overview#sas-token)
1680
1755
  * - [`X-Goog-Signature`](https://cloud.google.com/storage/docs/access-control/signed-urls)
1681
1756
  *
1757
+ * Several of these keys are used by more than one service or signing scheme. Each link
1758
+ * points to one representative usage rather than an exhaustive list, and does not narrow
1759
+ * the scope of the key to the linked service or signing scheme.
1760
+ *
1682
1761
  * This list is subject to change over time.
1683
1762
  *
1684
1763
  * Matching of query parameter keys against the sensitive list **SHOULD** be case-sensitive.
@@ -1716,9 +1795,15 @@ const ATTR_URL_PATH = "url.path";
1716
1795
  * - [`X-Amz-Signature`](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv-authentication-methods.html)
1717
1796
  * - [`X-Amz-Credential`](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv-authentication-methods.html)
1718
1797
  * - [`X-Amz-Security-Token`](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv-authentication-methods.html)
1798
+ * - [`AWSAccessKeyId`](https://docs.aws.amazon.com/AmazonS3/latest/developerguide/RESTAuthentication.html#RESTAuthenticationQueryStringAuth)
1799
+ * - [`Signature`](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-canned-policy.html)
1719
1800
  * - [`sig`](https://learn.microsoft.com/azure/storage/common/storage-sas-overview#sas-token)
1720
1801
  * - [`X-Goog-Signature`](https://cloud.google.com/storage/docs/access-control/signed-urls)
1721
1802
  *
1803
+ * Several of these keys are used by more than one service or signing scheme. Each link
1804
+ * points to one representative usage rather than an exhaustive list, and does not narrow
1805
+ * the scope of the key to the linked service or signing scheme.
1806
+ *
1722
1807
  * This list is subject to change over time.
1723
1808
  *
1724
1809
  * Matching of query parameter keys against the sensitive list **SHOULD** be case-sensitive.
@@ -1864,6 +1949,10 @@ exports.ATTR_OTEL_SCOPE_NAME = ATTR_OTEL_SCOPE_NAME;
1864
1949
  exports.ATTR_OTEL_SCOPE_VERSION = ATTR_OTEL_SCOPE_VERSION;
1865
1950
  exports.ATTR_OTEL_STATUS_CODE = ATTR_OTEL_STATUS_CODE;
1866
1951
  exports.ATTR_OTEL_STATUS_DESCRIPTION = ATTR_OTEL_STATUS_DESCRIPTION;
1952
+ exports.ATTR_RPC_METHOD = ATTR_RPC_METHOD;
1953
+ exports.ATTR_RPC_METHOD_ORIGINAL = ATTR_RPC_METHOD_ORIGINAL;
1954
+ exports.ATTR_RPC_STATUS_CODE = ATTR_RPC_STATUS_CODE;
1955
+ exports.ATTR_RPC_SYSTEM_NAME = ATTR_RPC_SYSTEM_NAME;
1867
1956
  exports.ATTR_SERVER_ADDRESS = ATTR_SERVER_ADDRESS;
1868
1957
  exports.ATTR_SERVER_PORT = ATTR_SERVER_PORT;
1869
1958
  exports.ATTR_SERVICE_INSTANCE_ID = ATTR_SERVICE_INSTANCE_ID;
@@ -1924,6 +2013,8 @@ exports.NETWORK_TYPE_VALUE_IPV4 = NETWORK_TYPE_VALUE_IPV4;
1924
2013
  exports.NETWORK_TYPE_VALUE_IPV6 = NETWORK_TYPE_VALUE_IPV6;
1925
2014
  exports.OTEL_STATUS_CODE_VALUE_ERROR = OTEL_STATUS_CODE_VALUE_ERROR;
1926
2015
  exports.OTEL_STATUS_CODE_VALUE_OK = OTEL_STATUS_CODE_VALUE_OK;
2016
+ exports.RPC_SYSTEM_NAME_VALUE_DUBBO = RPC_SYSTEM_NAME_VALUE_DUBBO;
2017
+ exports.RPC_SYSTEM_NAME_VALUE_GRPC = RPC_SYSTEM_NAME_VALUE_GRPC;
1927
2018
  exports.SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN = SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN;
1928
2019
  exports.SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE = SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE;
1929
2020
  exports.SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT = SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT;