Cannot see page timer with a long name in the Metric list of the synthetic metric rule
With adjustments to the Postgres database on the App Visibility portal, you can use page timer names that are longer than 255 characters.
Issue
With TrueSight Synthetic Monitor, a page timer with a name that is longer than 255 characters is not displayed in the Metric list of the synthetic metric rule.
Probable cause
The default settings of the Postgres database limits the string length to 255 characters.
Defect DRTSO-42339 in Known and corrected issues
Resolution
Back up the Postgres database on the App Visibility portal and increase the column width in the database.
For Windows
- Log in to the App Visibility portal computer.
Back up the App Visibility database.
- Navigate to the portal_installationDirectory\ADOP_DB\pgsql\bin directory.
The default directory is C:\Program Files\BMC Software\App Visibility. To access the database, run the following command:
psql.exe -U postgres -p 8800 avdb
The default database port is 8800. If you changed the value, use your port number.
To increase the column width, run the following command:
ALTER TABLE portal.synthetic_metric_stats ALTER COLUMN metric_name TYPE VARCHAR(320);
- To quit, enter
\q
For Linux
- Log in to the App Visibility portal computer as a postgres user, or as a root user and then su postgres.
Back up the App Visibility database.
- Navigate to the portal_installationDirectory/ADOP_DB/pgsql/bin directory.
The default directory is /opt/bmc/App_Visibility. To access the database, run the following command:
./psql -h localhost -p 8800 avdb
The default database port is 8800. If you changed the value, use your port number.
To increase the column width, run the following command:
ALTER TABLE portal.synthetic_metric_stats ALTER COLUMN metric_name TYPE VARCHAR(320);
- To quit, enter
\q
Comments
Log in or register to comment.