tencentcloud-sdk-nodejs-apm 4.1.258 → 4.1.267

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-apm",
3
- "version": "4.1.258",
3
+ "version": "4.1.267",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1566,177 +1566,189 @@ export interface TopologyNodeStats {
1566
1566
  */
1567
1567
  export interface ModifyApmInstanceRequest {
1568
1568
  /**
1569
- * 业务系统 ID
1569
+ * <p>业务系统 ID</p>
1570
1570
  */
1571
1571
  InstanceId: string;
1572
1572
  /**
1573
- * 业务系统名
1573
+ * <p>业务系统名</p>
1574
1574
  */
1575
1575
  Name: string;
1576
1576
  /**
1577
- * Tag 列表
1577
+ * <p>Tag 列表</p>
1578
1578
  */
1579
1579
  Tags?: Array<ApmTag>;
1580
1580
  /**
1581
- * 业务系统描述
1581
+ * <p>业务系统描述</p>
1582
1582
  */
1583
1583
  Description?: string;
1584
1584
  /**
1585
- * Trace 数据保存时长(单位:天)
1585
+ * <p>Trace 数据保存时长(单位:天)</p>
1586
1586
  */
1587
1587
  TraceDuration?: number;
1588
1588
  /**
1589
- * 是否开启计费
1589
+ * <p>是否开启计费</p>
1590
1590
  */
1591
1591
  OpenBilling?: boolean;
1592
1592
  /**
1593
- * 业务系统上报额度
1593
+ * <p>业务系统上报额度</p>
1594
1594
  */
1595
1595
  SpanDailyCounters?: number;
1596
1596
  /**
1597
- * 错误率警示线,当应用的平均错误率超出该阈值时,系统会给出异常提示。
1597
+ * <p>错误率警示线,当应用的平均错误率超出该阈值时,系统会给出异常提示。</p>
1598
1598
  */
1599
1599
  ErrRateThreshold?: number;
1600
1600
  /**
1601
- * 采样率(单位:%)
1601
+ * <p>采样率(单位:%)</p>
1602
1602
  */
1603
1603
  SampleRate?: number;
1604
1604
  /**
1605
- * 是否开启错误采样(0=关, 1=开)
1605
+ * <p>是否开启错误采样(0=关, 1=开)</p>
1606
1606
  */
1607
1607
  ErrorSample?: number;
1608
1608
  /**
1609
- * 采样慢调用保存阈值(单位:ms
1609
+ * <p>采样慢调用保存阈值(单位:ms)</p>
1610
1610
  */
1611
1611
  SlowRequestSavedThreshold?: number;
1612
1612
  /**
1613
- * 是否开启日志功能(0=关, 1=开)
1613
+ * <p>是否开启日志功能(0=关, 1=开)</p>
1614
1614
  */
1615
1615
  IsRelatedLog?: number;
1616
1616
  /**
1617
- * 日志地域,开启日志功能后才会生效
1617
+ * <p>日志地域,开启日志功能后才会生效</p>
1618
1618
  */
1619
1619
  LogRegion?: string;
1620
1620
  /**
1621
- * CLS 日志主题 ID,开启日志功能后才会生效
1621
+ * <p>CLS 日志主题 ID,开启日志功能后才会生效</p>
1622
1622
  */
1623
1623
  LogTopicID?: string;
1624
1624
  /**
1625
- * 日志集,开启日志功能后才会生效
1625
+ * <p>日志集,开启日志功能后才会生效</p>
1626
1626
  */
1627
1627
  LogSet?: string;
1628
1628
  /**
1629
- * 日志源,开启日志功能后才会生效
1629
+ * <p>日志源,开启日志功能后才会生效</p>
1630
1630
  */
1631
1631
  LogSource?: string;
1632
1632
  /**
1633
- * 用户自定义展示标签列表
1633
+ * <p>用户自定义展示标签列表</p>
1634
1634
  */
1635
1635
  CustomShowTags?: Array<string>;
1636
1636
  /**
1637
- * 修改计费模式(1为预付费,0为按量付费)
1637
+ * <p>修改计费模式(1为预付费,0为按量付费)</p>
1638
1638
  */
1639
1639
  PayMode?: number;
1640
1640
  /**
1641
- * 响应时间警示线
1641
+ * <p>响应时间警示线</p>
1642
1642
  */
1643
1643
  ResponseDurationWarningThreshold?: number;
1644
1644
  /**
1645
- * 是否免费(0=付费版;1=TSF 受限免费版;2=免费版),默认0
1645
+ * <p>是否免费(0=付费版;1=TSF 受限免费版;2=免费版),默认0</p>
1646
1646
  */
1647
1647
  Free?: number;
1648
1648
  /**
1649
- * 是否关联 Dashboard(0=关,1=开)
1649
+ * <p>是否关联 Dashboard(0=关,1=开)</p>
1650
1650
  */
1651
1651
  IsRelatedDashboard?: number;
1652
1652
  /**
1653
- * 关联的 Dashboard ID,开启关联 Dashboard 后才会生效
1653
+ * <p>关联的 Dashboard ID,开启关联 Dashboard 后才会生效</p>
1654
1654
  */
1655
1655
  DashboardTopicID?: string;
1656
1656
  /**
1657
- * 是否开启 SQL 注入检测(0=关,1=开)
1657
+ * <p>是否开启 SQL 注入检测(0=关,1=开)</p>
1658
1658
  */
1659
1659
  IsSqlInjectionAnalysis?: number;
1660
1660
  /**
1661
- * 是否开启组件漏洞检测(0=关,1=开)
1661
+ * <p>是否开启组件漏洞检测(0=关,1=开)</p>
1662
1662
  */
1663
1663
  IsInstrumentationVulnerabilityScan?: number;
1664
1664
  /**
1665
- * 是否开启远程命令攻击检测
1665
+ * <p>是否开启远程命令攻击检测</p>
1666
1666
  */
1667
1667
  IsRemoteCommandExecutionAnalysis?: number;
1668
1668
  /**
1669
- * 是否开启内存马检测
1669
+ * <p>是否开启内存马检测</p>
1670
1670
  */
1671
1671
  IsMemoryHijackingAnalysis?: number;
1672
1672
  /**
1673
- * CLS索引类型(0=全文索引,1=键值索引)
1673
+ * <p>CLS索引类型(0=全文索引,1=键值索引)</p>
1674
1674
  */
1675
1675
  LogIndexType?: number;
1676
1676
  /**
1677
- * traceId的索引key: 当CLS索引类型为键值索引时生效
1677
+ * <p>traceId的索引key: 当CLS索引类型为键值索引时生效</p>
1678
1678
  */
1679
1679
  LogTraceIdKey?: string;
1680
1680
  /**
1681
- * 是否开启删除任意文件检测(0-关闭,1-开启)
1681
+ * <p>是否开启删除任意文件检测(0-关闭,1-开启)</p>
1682
1682
  */
1683
1683
  IsDeleteAnyFileAnalysis?: number;
1684
1684
  /**
1685
- * 是否开启读取任意文件检测(0-关闭,1-开启)
1685
+ * <p>是否开启读取任意文件检测(0-关闭,1-开启)</p>
1686
1686
  */
1687
1687
  IsReadAnyFileAnalysis?: number;
1688
1688
  /**
1689
- * 是否开启上传任意文件检测(0-关闭,1-开启)
1689
+ * <p>是否开启上传任意文件检测(0-关闭,1-开启)</p>
1690
1690
  */
1691
1691
  IsUploadAnyFileAnalysis?: number;
1692
1692
  /**
1693
- * 是否开启包含任意文件检测(0-关闭,1-开启)
1693
+ * <p>是否开启包含任意文件检测(0-关闭,1-开启)</p>
1694
1694
  */
1695
1695
  IsIncludeAnyFileAnalysis?: number;
1696
1696
  /**
1697
- * 是否开启目录遍历检测(0-关闭,1-开启)
1697
+ * <p>是否开启目录遍历检测(0-关闭,1-开启)</p>
1698
1698
  */
1699
1699
  IsDirectoryTraversalAnalysis?: number;
1700
1700
  /**
1701
- * 是否开启模板引擎注入检测(0-关闭,1-开启)
1701
+ * <p>是否开启模板引擎注入检测(0-关闭,1-开启)</p>
1702
1702
  */
1703
1703
  IsTemplateEngineInjectionAnalysis?: number;
1704
1704
  /**
1705
- * 是否开启脚本引擎注入检测(0-关闭,1-开启)
1705
+ * <p>是否开启脚本引擎注入检测(0-关闭,1-开启)</p>
1706
1706
  */
1707
1707
  IsScriptEngineInjectionAnalysis?: number;
1708
1708
  /**
1709
- * 是否开启表达式注入检测(0-关闭,1-开启)
1709
+ * <p>是否开启表达式注入检测(0-关闭,1-开启)</p>
1710
1710
  */
1711
1711
  IsExpressionInjectionAnalysis?: number;
1712
1712
  /**
1713
- * 是否开启JNDI注入检测(0-关闭,1-开启)
1713
+ * <p>是否开启JNDI注入检测(0-关闭,1-开启)</p>
1714
1714
  */
1715
1715
  IsJNDIInjectionAnalysis?: number;
1716
1716
  /**
1717
- * 是否开启JNI注入检测(0-关闭,1-开启)
1717
+ * <p>是否开启JNI注入检测(0-关闭,1-开启)</p>
1718
1718
  */
1719
1719
  IsJNIInjectionAnalysis?: number;
1720
1720
  /**
1721
- * 是否开启Webshell后门检测(0-关闭,1-开启)
1721
+ * <p>是否开启Webshell后门检测(0-关闭,1-开启)</p>
1722
1722
  */
1723
1723
  IsWebshellBackdoorAnalysis?: number;
1724
1724
  /**
1725
- * 是否开启反序列化检测(0-关闭,1-开启)
1725
+ * <p>是否开启反序列化检测(0-关闭,1-开启)</p>
1726
1726
  */
1727
1727
  IsDeserializationAnalysis?: number;
1728
1728
  /**
1729
- * URL长分段收敛阈值
1729
+ * <p>URL长分段收敛阈值</p>
1730
1730
  */
1731
1731
  UrlLongSegmentThreshold?: number;
1732
1732
  /**
1733
- * URL数字分段收敛阈值
1733
+ * <p>URL数字分段收敛阈值</p>
1734
1734
  */
1735
1735
  UrlNumberSegmentThreshold?: number;
1736
1736
  /**
1737
- * spanId的索引key: 当CLS索引类型为键值索引时生效
1737
+ * <p>spanId的索引key: 当CLS索引类型为键值索引时生效</p>
1738
1738
  */
1739
1739
  LogSpanIdKey?: string;
1740
+ /**
1741
+ * <p>是否开启探针头采样</p>
1742
+ */
1743
+ EnableHeadSampler?: boolean;
1744
+ /**
1745
+ * <p>头采类型</p><p>枚举值:</p><ul><li>parentbased_traceidratio: 默认</li></ul>
1746
+ */
1747
+ HeadSamplerType?: string;
1748
+ /**
1749
+ * <p>头采采样率</p><p>取值范围:[0, 100]</p>
1750
+ */
1751
+ HeadSamplerArg?: number;
1740
1752
  }
1741
1753
  /**
1742
1754
  * Span日志部分