Fix opensearch total documents automonitorization
This commit is contained in:
parent
0ed2a6f946
commit
036425ddda
|
@ -170,7 +170,7 @@ class LogStorage extends Element
|
||||||
public function getStoredData():string
|
public function getStoredData():string
|
||||||
{
|
{
|
||||||
if ($this->isEnabled() === true) {
|
if ($this->isEnabled() === true) {
|
||||||
$data = $this->valueMonitoring('Total lines of data');
|
$data = $this->valueMonitoring('Total documents');
|
||||||
$value = format_numeric($data[0]['datos']);
|
$value = format_numeric($data[0]['datos']);
|
||||||
} else {
|
} else {
|
||||||
$value = __('N/A');
|
$value = __('N/A');
|
||||||
|
|
|
@ -193,7 +193,7 @@
|
||||||
<?php echo __('Stored data'); ?>
|
<?php echo __('Stored data'); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php echo $LogStorage->getStoredData(); ?>
|
<?php echo $LogStorage->getStoredData(); ?>
|
||||||
<span class="indicative-text"><?php echo __('Lines'); ?></span>
|
<span class="indicative-text"><?php echo __('Documents'); ?></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<div class="subtitle">
|
<div class="subtitle">
|
||||||
|
|
Loading…
Reference in New Issue