Skip to content

Commit

Permalink
[dev-23.10.x] [gorgone] Fix column length for MBI (MON-143655) (#1554)
Browse files Browse the repository at this point in the history
* MON-12908: add centreon-mbi etl optimized (#220)

* enh(gorgone): use zmq ffi binding (#1057)

Co-authored-by: Kevin Duret <[email protected]>
Co-authored-by: Laurent Pinsivy <[email protected]>

* fix(mbi) change the type of metric_unit column (#1117)

* Empty-Commit

* In the table mod_bi_tmp_today_servicemetrics, use the same type as defined in mod_bi_servicemetrics (#1517)

* Use same type in all tables

* Update metric_id column type

---------

Co-authored-by: Stéphane Duret <[email protected]>

---------

Co-authored-by: qgarnier <[email protected]>
Co-authored-by: Laurent Pinsivy <[email protected]>
Co-authored-by: Stéphane Duret <[email protected]>
Co-authored-by: Paul LOUIS THERESE <[email protected]>
Co-authored-by: pkippes <[email protected]>
Co-authored-by: tuntoja <[email protected]>
Co-authored-by: tuntoja <[email protected]>
Co-authored-by: Vincent Untz <[email protected]>
  • Loading branch information
9 people authored Aug 20, 2024
1 parent 4e1cd36 commit e7cc6e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gorgone/gorgone/modules/centreon/mbi/libs/bi/BIMetric.pm
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ sub createTodayTable {

$db->query({ query => "DROP TABLE IF EXISTS `".$self->{"today_table"}."`" });
my $query = "CREATE TABLE `" . $self->{"today_table"} . "` (";
$query .= "`id` INT NOT NULL,";
$query .= "`metric_id` int(11) NOT NULL,";
$query .= "`id` BIGINT(20) UNSIGNED NOT NULL,";
$query .= "`metric_id` BIGINT(20) UNSIGNED NOT NULL,";
$query .= "`metric_name` varchar(255) NOT NULL,";
$query .= "`sc_id` int(11) NOT NULL,";
$query .= "`hg_id` int(11) NOT NULL,";
Expand Down

0 comments on commit e7cc6e6

Please sign in to comment.