MetricsHub
MetricsHub Enterprise 1.0.01
-
Home
- Installation
Installation
Enterprise Edition
Download
From MetricsHub's Web site[1], download metricshub-enterprise-windows-1.0.01.msi.
Install
Double-click the .msi
file you previously downloaded. The Installation Wizard will automatically start and guide you through the installation process.
When complete, the MetricsHub's files are deployed to the destination folder (by default under C:\Program Files\MetricsHub
) and the MetricsHubEnterprise Agent is started as a service and appears in services.msc.
MetricsHub operates using the configuration located in the ProgramData\MetricsHub
directory
Configure
- In the C:\ProgramData\MetricsHub\config\metricshub.yaml file, configure the resources to be monitored.[2]
- In the C:\ProgramData\MetricsHub\otel\otel-config.yaml file, specify where the OpenTelemetry Collector should send the collected data.[3]
To assist with the setup process, two configuration examples are provided for guidance in the installation directory (C:\Program Files\MetricsHub
):
- .\config\metricshub-config-example.yaml, a configuration example of the MetricsHub agent.
- .\otel\otel-config-example.yaml, a configuration example of the OpenTelemetry Collector.
Start
To start the MetricsHub Enterprise service, open services.msc and start the MetricsHub Enterprise service.
Uninstall
To uninstall MetricsHub Enterprise, double-click the metricshub-enterprise-windows-1.0.01.msi file and click Remove when prompted.
Upgrade
If you have installed a previous version of MetricsHub Enterprise and want to upgrade to the latest version 1.0.01, follow these steps:
- From MetricsHub's Web site[1], download metricshub-enterprise-windows-1.0.01.msi.
- Open services.msc and stop the MetricsHub Enterprise service.
- Double-click the
.msi
file you previously downloaded. The Installation Wizard will automatically start and guide you through the upgrade process.
Community Edition
Download
Download the Windows package, metricshub-windows-0.9.07.zip
, from the MetricsHub Release v0.9.07[4] page.
Install
Unzip the content of metricshub-windows-0.9.07.zip
into a program folder, like C:\Program Files
. There is no need to create a specific subdirectory for MetricsHub
as the zip archive already contains a MetricsHub
directory.
Note: You will need administrative privileges to unzip into
C:\Program Files
.
Configure
In the C:\ProgramData\MetricsHub\config\metricshub.yaml
file, configure:
- the resources to be monitored.[2]
- the OpenTelemetry Protocol endpoint[5] that will receive the MetricsHub signals.
To assist with the setup process, the configuration example .\config\metricshub-example.yaml
is provided for guidance in the installation directory (typically, C:\Program Files\MetricsHub
).
Start
To start MetricsHub Service in CMD.EXE
or Windows Terminal
[6], run the command below:
cd "c:\Program Files\MetricsHub"
MetricsHubServiceManager
Note: Run
CMD.EXE
orWindows Terminal
with elevated privileges (Run As Administrator).
This will start MetricsHub with the default configuration file C:\ProgramData\MetricsHub\config\metricshub.yaml
.
Run the command below to start MetricsHub with an alternate configuration file:
cd "c:\Program Files\MetricsHub"
MetricsHubServiceManager --config <PATH>
Example:
cd "c:\Program Files\MetricsHub"
MetricsHubServiceManager --config C:\ProgramData\MetricsHub\config\my-metricshub.yaml
To start MetricsHub as a Windows service, run the following commands under the installation folder (assuming the product has been installed in C:\Program Files
):
cd "c:\Program Files\MetricsHub"
service-installer install MetricsHub "c:\Program Files\MetricsHub\MetricsHubServiceManager.exe"
service-installer set MetricsHub AppDirectory "c:\Program Files\MetricsHub"
service-installer set MetricsHub DisplayName MetricsHub
service-installer set MetricsHub Start SERVICE_AUTO_START
To check MetricsHub's status, run the following command:
sc query MetricsHub
The service will appear as MetricsHub
in the services.msc
console.
Stop
Interactive Terminal
To stop the MetricsHub Service manually, use the keyboard shortcut CTRL+C
. This will interrupt the running process and terminate the MetricsHub Service.
Background Process
If the MetricsHub Service is running in the background, execute the taskkill
command as follows:
taskkill /F /IM MetricsHubServiceManager.exe
Service
To stop the MetricsHub Service started as a Windows service:
- Run
services.msc
to access all the Windows services. - In the Services window, locate the
MetricsHub
service you manually created. - Right-click the
MetricsHub
service and click Stop.
Uninstall
- Stop the MetricsHub Service.
- Navigate to the folder where MetricsHub is installed (e.g.,
C:\Program Files
) and delete the entireMetricsHub
folder.
If the MetricsHub Service was set up as a Windows Service, run the following command to remove it:
sc delete MetricsHub