@nsshunt/stsvueutils 1.0.82 → 1.0.83
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/stsvueutils.mjs +80 -203
- package/dist/stsvueutils.mjs.map +1 -1
- package/dist/stsvueutils.umd.js +80 -203
- package/dist/stsvueutils.umd.js.map +1 -1
- package/package.json +6 -7
- package/types/index.test.d.ts +1 -0
package/dist/stsvueutils.mjs
CHANGED
|
@@ -3490,70 +3490,24 @@ __publicField2(_ObservabilityModelUtils, "ParseModelNodeObject", (model, data, p
|
|
|
3490
3490
|
model.instruments[gaugeName] = _ObservabilityModelUtils.GetModelNodeObject({});
|
|
3491
3491
|
}
|
|
3492
3492
|
});
|
|
3493
|
-
debugModule(`proc:${process.pid}`);
|
|
3494
3493
|
const byteToHex = [];
|
|
3495
3494
|
for (let i = 0; i < 256; ++i) {
|
|
3496
3495
|
byteToHex.push((i + 256).toString(16).slice(1));
|
|
3497
3496
|
}
|
|
3498
3497
|
typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
3498
|
+
const instrumentationObservationInterval = 1e3;
|
|
3499
|
+
const instrumentationTimeWindow = 600;
|
|
3500
|
+
const consoleLogging = true;
|
|
3501
|
+
const instrumentLogging = true;
|
|
3499
3502
|
({
|
|
3500
3503
|
coreFieldList: [
|
|
3501
|
-
{
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
},
|
|
3509
|
-
{
|
|
3510
|
-
fieldName: "errorCount",
|
|
3511
|
-
gauge: Gauge.ERROR_COUNT_GAUGE,
|
|
3512
|
-
instrumentProperty: "val",
|
|
3513
|
-
dataType: "number",
|
|
3514
|
-
influxdbDataType: "intField"
|
|
3515
|
-
/* intField */
|
|
3516
|
-
},
|
|
3517
|
-
{
|
|
3518
|
-
fieldName: "retryCount",
|
|
3519
|
-
gauge: Gauge.RETRY_COUNT_GAUGE,
|
|
3520
|
-
instrumentProperty: "val",
|
|
3521
|
-
dataType: "number",
|
|
3522
|
-
influxdbDataType: "intField"
|
|
3523
|
-
/* intField */
|
|
3524
|
-
},
|
|
3525
|
-
{
|
|
3526
|
-
fieldName: "authenticationCount",
|
|
3527
|
-
gauge: Gauge.AUTHENTICATION_COUNT_GAUGE,
|
|
3528
|
-
instrumentProperty: "val",
|
|
3529
|
-
dataType: "number",
|
|
3530
|
-
influxdbDataType: "intField"
|
|
3531
|
-
/* intField */
|
|
3532
|
-
},
|
|
3533
|
-
{
|
|
3534
|
-
fieldName: "authenticationErrorCount",
|
|
3535
|
-
gauge: Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE,
|
|
3536
|
-
instrumentProperty: "val",
|
|
3537
|
-
dataType: "number",
|
|
3538
|
-
influxdbDataType: "intField"
|
|
3539
|
-
/* intField */
|
|
3540
|
-
},
|
|
3541
|
-
{
|
|
3542
|
-
fieldName: "authenticationRetryCount",
|
|
3543
|
-
gauge: Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE,
|
|
3544
|
-
instrumentProperty: "val",
|
|
3545
|
-
dataType: "number",
|
|
3546
|
-
influxdbDataType: "intField"
|
|
3547
|
-
/* intField */
|
|
3548
|
-
},
|
|
3549
|
-
{
|
|
3550
|
-
fieldName: "velocity",
|
|
3551
|
-
gauge: Gauge.VELOCITY_GAUGE,
|
|
3552
|
-
instrumentProperty: "va",
|
|
3553
|
-
dataType: "number",
|
|
3554
|
-
influxdbDataType: "floatField"
|
|
3555
|
-
/* floatField */
|
|
3556
|
-
},
|
|
3504
|
+
{ fieldName: "requestCount", gauge: Gauge.REQUEST_COUNT_GAUGE, instrumentProperty: "val", dataType: "number", influxdbDataType: "intField", gaugeType: GaugeTypes.INSTRUMENT_GAUGE },
|
|
3505
|
+
{ fieldName: "errorCount", gauge: Gauge.ERROR_COUNT_GAUGE, instrumentProperty: "val", dataType: "number", influxdbDataType: "intField", gaugeType: GaugeTypes.INSTRUMENT_GAUGE },
|
|
3506
|
+
{ fieldName: "retryCount", gauge: Gauge.RETRY_COUNT_GAUGE, instrumentProperty: "val", dataType: "number", influxdbDataType: "intField", gaugeType: GaugeTypes.INSTRUMENT_GAUGE },
|
|
3507
|
+
{ fieldName: "authenticationCount", gauge: Gauge.AUTHENTICATION_COUNT_GAUGE, instrumentProperty: "val", dataType: "number", influxdbDataType: "intField", gaugeType: GaugeTypes.INSTRUMENT_GAUGE },
|
|
3508
|
+
{ fieldName: "authenticationErrorCount", gauge: Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE, instrumentProperty: "val", dataType: "number", influxdbDataType: "intField", gaugeType: GaugeTypes.INSTRUMENT_GAUGE },
|
|
3509
|
+
{ fieldName: "authenticationRetryCount", gauge: Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE, instrumentProperty: "val", dataType: "number", influxdbDataType: "intField", gaugeType: GaugeTypes.INSTRUMENT_GAUGE },
|
|
3510
|
+
{ fieldName: "velocity", gauge: Gauge.VELOCITY_GAUGE, instrumentProperty: "va", dataType: "number", influxdbDataType: "floatField", gaugeType: GaugeTypes.INSTRUMENT_VELOCITY },
|
|
3557
3511
|
{
|
|
3558
3512
|
fieldName: "activeRequestCount",
|
|
3559
3513
|
gauge: Gauge.ACTIVE_REQUEST_GAUGE,
|
|
@@ -3561,41 +3515,17 @@ typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(cry
|
|
|
3561
3515
|
dataType: "number",
|
|
3562
3516
|
timeSeriesIndex: true,
|
|
3563
3517
|
quantile: true,
|
|
3564
|
-
influxdbDataType: "intField"
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
instrumentProperty: "val",
|
|
3571
|
-
dataType: "number",
|
|
3572
|
-
influxdbDataType: "intField"
|
|
3573
|
-
/* intField */
|
|
3574
|
-
},
|
|
3575
|
-
{
|
|
3576
|
-
fieldName: "rx",
|
|
3577
|
-
gauge: Gauge.NETWORK_RX_GAUGE,
|
|
3578
|
-
instrumentProperty: "va",
|
|
3579
|
-
dataType: "number",
|
|
3580
|
-
influxdbDataType: "floatField"
|
|
3581
|
-
/* floatField */
|
|
3582
|
-
},
|
|
3583
|
-
{
|
|
3584
|
-
fieldName: "tx",
|
|
3585
|
-
gauge: Gauge.NETWORK_TX_GAUGE,
|
|
3586
|
-
instrumentProperty: "va",
|
|
3587
|
-
dataType: "number",
|
|
3588
|
-
influxdbDataType: "floatField"
|
|
3589
|
-
/* floatField */
|
|
3590
|
-
},
|
|
3591
|
-
{
|
|
3592
|
-
fieldName: "timer",
|
|
3593
|
-
gauge: Gauge.TIMER_GAUGE,
|
|
3594
|
-
instrumentProperty: "val",
|
|
3595
|
-
dataType: "number",
|
|
3596
|
-
influxdbDataType: "floatField"
|
|
3597
|
-
/* floatField */
|
|
3518
|
+
influxdbDataType: "intField",
|
|
3519
|
+
gaugeType: GaugeTypes.INSTRUMENT_GAUGE,
|
|
3520
|
+
instrumentOptions: {
|
|
3521
|
+
interval: instrumentationObservationInterval,
|
|
3522
|
+
sampleSize: instrumentationTimeWindow
|
|
3523
|
+
}
|
|
3598
3524
|
},
|
|
3525
|
+
{ fieldName: "coreCount", gauge: Gauge.CORE_COUNT_GAUGE, instrumentProperty: "val", dataType: "number", influxdbDataType: "intField", gaugeType: GaugeTypes.INSTRUMENT_GAUGE },
|
|
3526
|
+
{ fieldName: "rx", gauge: Gauge.NETWORK_RX_GAUGE, instrumentProperty: "va", dataType: "number", influxdbDataType: "floatField", gaugeType: GaugeTypes.INSTRUMENT_VELOCITY },
|
|
3527
|
+
{ fieldName: "tx", gauge: Gauge.NETWORK_TX_GAUGE, instrumentProperty: "va", dataType: "number", influxdbDataType: "floatField", gaugeType: GaugeTypes.INSTRUMENT_VELOCITY },
|
|
3528
|
+
{ fieldName: "timer", gauge: Gauge.TIMER_GAUGE, instrumentProperty: "val", dataType: "number", influxdbDataType: "floatField", gaugeType: GaugeTypes.INSTRUMENT_TIMER },
|
|
3599
3529
|
{
|
|
3600
3530
|
fieldName: "duration",
|
|
3601
3531
|
gauge: Gauge.DURATION_GAUGE,
|
|
@@ -3604,6 +3534,11 @@ typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(cry
|
|
|
3604
3534
|
timeSeriesIndex: true,
|
|
3605
3535
|
quantile: true,
|
|
3606
3536
|
influxdbDataType: "floatField",
|
|
3537
|
+
gaugeType: GaugeTypes.INSTRUMENT_GAUGE,
|
|
3538
|
+
instrumentOptions: {
|
|
3539
|
+
interval: instrumentationObservationInterval,
|
|
3540
|
+
sampleSize: instrumentationTimeWindow
|
|
3541
|
+
},
|
|
3607
3542
|
histo: [
|
|
3608
3543
|
{ label: "B10", bucketLimit: 10 },
|
|
3609
3544
|
{ label: "B20", bucketLimit: 20 },
|
|
@@ -3612,7 +3547,8 @@ typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(cry
|
|
|
3612
3547
|
{ label: "B1000", bucketLimit: 1e3 },
|
|
3613
3548
|
{ label: "B50000", bucketLimit: 5e4 },
|
|
3614
3549
|
{ label: "BInfinity", bucketLimit: -1 }
|
|
3615
|
-
]
|
|
3550
|
+
],
|
|
3551
|
+
histoGaugeType: Gauge.DURATION_HISTOGRAM_GAUGE
|
|
3616
3552
|
},
|
|
3617
3553
|
{
|
|
3618
3554
|
fieldName: "latency",
|
|
@@ -3622,6 +3558,11 @@ typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(cry
|
|
|
3622
3558
|
timeSeriesIndex: true,
|
|
3623
3559
|
quantile: true,
|
|
3624
3560
|
influxdbDataType: "floatField",
|
|
3561
|
+
gaugeType: GaugeTypes.INSTRUMENT_GAUGE,
|
|
3562
|
+
instrumentOptions: {
|
|
3563
|
+
interval: instrumentationObservationInterval,
|
|
3564
|
+
sampleSize: instrumentationTimeWindow
|
|
3565
|
+
},
|
|
3625
3566
|
histo: [
|
|
3626
3567
|
{ label: "B10", bucketLimit: 10 },
|
|
3627
3568
|
{ label: "B20", bucketLimit: 20 },
|
|
@@ -3630,7 +3571,24 @@ typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(cry
|
|
|
3630
3571
|
{ label: "B1000", bucketLimit: 1e3 },
|
|
3631
3572
|
{ label: "B50000", bucketLimit: 5e4 },
|
|
3632
3573
|
{ label: "BInfinity", bucketLimit: -1 }
|
|
3633
|
-
]
|
|
3574
|
+
],
|
|
3575
|
+
histoGaugeType: Gauge.LATENCY_HISTOGRAM_GAUGE
|
|
3576
|
+
}
|
|
3577
|
+
],
|
|
3578
|
+
logFieldList: [
|
|
3579
|
+
{
|
|
3580
|
+
fieldName: "log",
|
|
3581
|
+
gauge: Gauge.LOGGER,
|
|
3582
|
+
instrumentProperty: "val",
|
|
3583
|
+
dataType: "string",
|
|
3584
|
+
timeSeriesIndex: false,
|
|
3585
|
+
quantile: false,
|
|
3586
|
+
influxdbDataType: "stringField",
|
|
3587
|
+
gaugeType: GaugeTypes.INSTRUMENT_LOG,
|
|
3588
|
+
instrumentOptions: {
|
|
3589
|
+
consoleLogging,
|
|
3590
|
+
instrumentLogging
|
|
3591
|
+
}
|
|
3634
3592
|
}
|
|
3635
3593
|
],
|
|
3636
3594
|
services: {
|
|
@@ -3659,8 +3617,12 @@ typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(cry
|
|
|
3659
3617
|
dataType: "number",
|
|
3660
3618
|
timeSeriesIndex: true,
|
|
3661
3619
|
quantile: true,
|
|
3662
|
-
influxdbDataType: "floatField"
|
|
3663
|
-
|
|
3620
|
+
influxdbDataType: "floatField",
|
|
3621
|
+
gaugeType: GaugeTypes.INSTRUMENT_GAUGE,
|
|
3622
|
+
instrumentOptions: {
|
|
3623
|
+
interval: instrumentationObservationInterval,
|
|
3624
|
+
sampleSize: instrumentationTimeWindow
|
|
3625
|
+
}
|
|
3664
3626
|
},
|
|
3665
3627
|
{
|
|
3666
3628
|
fieldName: "connectionCount",
|
|
@@ -3669,50 +3631,27 @@ typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(cry
|
|
|
3669
3631
|
dataType: "number",
|
|
3670
3632
|
timeSeriesIndex: true,
|
|
3671
3633
|
quantile: true,
|
|
3672
|
-
influxdbDataType: "intField"
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
instrumentProperty: "val",
|
|
3679
|
-
dataType: "number",
|
|
3680
|
-
influxdbDataType: "intField"
|
|
3681
|
-
/* intField */
|
|
3682
|
-
},
|
|
3683
|
-
{
|
|
3684
|
-
fieldName: "connectionIdleCount",
|
|
3685
|
-
gauge: Gauge.CONNECTION_POOL_IDLE_GAUGE,
|
|
3686
|
-
instrumentProperty: "val",
|
|
3687
|
-
dataType: "number",
|
|
3688
|
-
influxdbDataType: "intField"
|
|
3689
|
-
/* intField */
|
|
3690
|
-
},
|
|
3691
|
-
{
|
|
3692
|
-
fieldName: "connectionWaitingCount",
|
|
3693
|
-
gauge: Gauge.CONNECTION_POOL_WAITING_GAUGE,
|
|
3694
|
-
instrumentProperty: "val",
|
|
3695
|
-
dataType: "number",
|
|
3696
|
-
influxdbDataType: "intField"
|
|
3697
|
-
/* intField */
|
|
3698
|
-
},
|
|
3699
|
-
{
|
|
3700
|
-
fieldName: "systemcpu",
|
|
3701
|
-
gauge: Gauge.CPU_SYSTEM_LOAD_GAUGE,
|
|
3702
|
-
instrumentProperty: "val",
|
|
3703
|
-
dataType: "number",
|
|
3704
|
-
timeSeriesIndex: true,
|
|
3705
|
-
quantile: true,
|
|
3706
|
-
influxdbDataType: "floatField"
|
|
3707
|
-
/* floatField */
|
|
3634
|
+
influxdbDataType: "intField",
|
|
3635
|
+
gaugeType: GaugeTypes.INSTRUMENT_GAUGE,
|
|
3636
|
+
instrumentOptions: {
|
|
3637
|
+
interval: instrumentationObservationInterval,
|
|
3638
|
+
sampleSize: instrumentationTimeWindow
|
|
3639
|
+
}
|
|
3708
3640
|
},
|
|
3641
|
+
{ fieldName: "connectionPoolCount", gauge: Gauge.CONNECTION_POOL_TOTAL_GAUGE, instrumentProperty: "val", dataType: "number", influxdbDataType: "intField", gaugeType: GaugeTypes.INSTRUMENT_GAUGE },
|
|
3642
|
+
{ fieldName: "connectionIdleCount", gauge: Gauge.CONNECTION_POOL_IDLE_GAUGE, instrumentProperty: "val", dataType: "number", influxdbDataType: "intField", gaugeType: GaugeTypes.INSTRUMENT_GAUGE },
|
|
3643
|
+
{ fieldName: "connectionWaitingCount", gauge: Gauge.CONNECTION_POOL_WAITING_GAUGE, instrumentProperty: "val", dataType: "number", influxdbDataType: "intField", gaugeType: GaugeTypes.INSTRUMENT_GAUGE },
|
|
3644
|
+
{ fieldName: "systemcpu", gauge: Gauge.CPU_SYSTEM_LOAD_GAUGE, instrumentProperty: "val", dataType: "number", timeSeriesIndex: true, quantile: true, influxdbDataType: "floatField", gaugeType: GaugeTypes.INSTRUMENT_GAUGE },
|
|
3709
3645
|
{
|
|
3710
3646
|
fieldName: "memory",
|
|
3711
3647
|
gauge: Gauge.OBJECT_GAUGE,
|
|
3712
3648
|
instrumentProperty: "val",
|
|
3713
3649
|
dataType: "JSON",
|
|
3714
|
-
influxdbDataType: "stringField"
|
|
3715
|
-
|
|
3650
|
+
influxdbDataType: "stringField",
|
|
3651
|
+
gaugeType: GaugeTypes.INSTRUMENT_OBJECT,
|
|
3652
|
+
instrumentOptions: {
|
|
3653
|
+
label: "InstrumentObjectMaster"
|
|
3654
|
+
}
|
|
3716
3655
|
}
|
|
3717
3656
|
],
|
|
3718
3657
|
GetPathFromContext(context) {
|
|
@@ -3758,14 +3697,7 @@ typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(cry
|
|
|
3758
3697
|
instantPrefix: "/agentInstant:"
|
|
3759
3698
|
},
|
|
3760
3699
|
fieldList: [
|
|
3761
|
-
{
|
|
3762
|
-
fieldName: "childCount",
|
|
3763
|
-
gauge: Gauge.CHILD_COUNT,
|
|
3764
|
-
instrumentProperty: "val",
|
|
3765
|
-
dataType: "number",
|
|
3766
|
-
influxdbDataType: "intField"
|
|
3767
|
-
/* intField */
|
|
3768
|
-
}
|
|
3700
|
+
{ fieldName: "childCount", gauge: Gauge.CHILD_COUNT, instrumentProperty: "val", dataType: "number", influxdbDataType: "intField", gaugeType: GaugeTypes.INSTRUMENT_GAUGE }
|
|
3769
3701
|
],
|
|
3770
3702
|
//@@ need type declare in appframework ?? agent does not use appframework ... perhaps stspublisher
|
|
3771
3703
|
GetPathFromContext(context) {
|
|
@@ -3817,68 +3749,13 @@ typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(cry
|
|
|
3817
3749
|
instantPrefix: "/lambdaInstant:"
|
|
3818
3750
|
},
|
|
3819
3751
|
fieldList: [
|
|
3820
|
-
{
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
influxdbDataType: "floatField"
|
|
3828
|
-
/* floatField */
|
|
3829
|
-
},
|
|
3830
|
-
{
|
|
3831
|
-
fieldName: "connectionCount",
|
|
3832
|
-
gauge: Gauge.CONNECTION_COUNT_GAUGE,
|
|
3833
|
-
instrumentProperty: "val",
|
|
3834
|
-
dataType: "number",
|
|
3835
|
-
timeSeriesIndex: true,
|
|
3836
|
-
quantile: true,
|
|
3837
|
-
influxdbDataType: "intField"
|
|
3838
|
-
/* intField */
|
|
3839
|
-
},
|
|
3840
|
-
{
|
|
3841
|
-
fieldName: "connectionPoolCount",
|
|
3842
|
-
gauge: Gauge.CONNECTION_POOL_TOTAL_GAUGE,
|
|
3843
|
-
instrumentProperty: "val",
|
|
3844
|
-
dataType: "number",
|
|
3845
|
-
influxdbDataType: "intField"
|
|
3846
|
-
/* intField */
|
|
3847
|
-
},
|
|
3848
|
-
{
|
|
3849
|
-
fieldName: "connectionIdleCount",
|
|
3850
|
-
gauge: Gauge.CONNECTION_POOL_IDLE_GAUGE,
|
|
3851
|
-
instrumentProperty: "val",
|
|
3852
|
-
dataType: "number",
|
|
3853
|
-
influxdbDataType: "intField"
|
|
3854
|
-
/* intField */
|
|
3855
|
-
},
|
|
3856
|
-
{
|
|
3857
|
-
fieldName: "connectionWaitingCount",
|
|
3858
|
-
gauge: Gauge.CONNECTION_POOL_WAITING_GAUGE,
|
|
3859
|
-
instrumentProperty: "val",
|
|
3860
|
-
dataType: "number",
|
|
3861
|
-
influxdbDataType: "intField"
|
|
3862
|
-
/* intField */
|
|
3863
|
-
},
|
|
3864
|
-
{
|
|
3865
|
-
fieldName: "systemcpu",
|
|
3866
|
-
gauge: Gauge.CPU_SYSTEM_LOAD_GAUGE,
|
|
3867
|
-
instrumentProperty: "val",
|
|
3868
|
-
dataType: "number",
|
|
3869
|
-
timeSeriesIndex: true,
|
|
3870
|
-
quantile: true,
|
|
3871
|
-
influxdbDataType: "floatField"
|
|
3872
|
-
/* floatField */
|
|
3873
|
-
},
|
|
3874
|
-
{
|
|
3875
|
-
fieldName: "memory",
|
|
3876
|
-
gauge: Gauge.OBJECT_GAUGE,
|
|
3877
|
-
instrumentProperty: "val",
|
|
3878
|
-
dataType: "JSON",
|
|
3879
|
-
influxdbDataType: "stringField"
|
|
3880
|
-
/* stringField */
|
|
3881
|
-
}
|
|
3752
|
+
{ fieldName: "cpu", gauge: Gauge.CPU_LOAD_GAUGE, instrumentProperty: "val", dataType: "number", timeSeriesIndex: true, quantile: true, influxdbDataType: "floatField", gaugeType: GaugeTypes.INSTRUMENT_GAUGE },
|
|
3753
|
+
{ fieldName: "connectionCount", gauge: Gauge.CONNECTION_COUNT_GAUGE, instrumentProperty: "val", dataType: "number", timeSeriesIndex: true, quantile: true, influxdbDataType: "intField", gaugeType: GaugeTypes.INSTRUMENT_GAUGE },
|
|
3754
|
+
{ fieldName: "connectionPoolCount", gauge: Gauge.CONNECTION_POOL_TOTAL_GAUGE, instrumentProperty: "val", dataType: "number", influxdbDataType: "intField", gaugeType: GaugeTypes.INSTRUMENT_GAUGE },
|
|
3755
|
+
{ fieldName: "connectionIdleCount", gauge: Gauge.CONNECTION_POOL_IDLE_GAUGE, instrumentProperty: "val", dataType: "number", influxdbDataType: "intField", gaugeType: GaugeTypes.INSTRUMENT_GAUGE },
|
|
3756
|
+
{ fieldName: "connectionWaitingCount", gauge: Gauge.CONNECTION_POOL_WAITING_GAUGE, instrumentProperty: "val", dataType: "number", influxdbDataType: "intField", gaugeType: GaugeTypes.INSTRUMENT_GAUGE },
|
|
3757
|
+
{ fieldName: "systemcpu", gauge: Gauge.CPU_SYSTEM_LOAD_GAUGE, instrumentProperty: "val", dataType: "number", timeSeriesIndex: true, quantile: true, influxdbDataType: "floatField", gaugeType: GaugeTypes.INSTRUMENT_GAUGE },
|
|
3758
|
+
{ fieldName: "memory", gauge: Gauge.OBJECT_GAUGE, instrumentProperty: "val", dataType: "JSON", influxdbDataType: "stringField", gaugeType: GaugeTypes.INSTRUMENT_OBJECT }
|
|
3882
3759
|
],
|
|
3883
3760
|
//@@ need type declare in appframework
|
|
3884
3761
|
GetPathFromContext(context) {
|