Before you can generate Forge metrics, you have tell Forge the port on which to set up the Forge Metrics Web service. By doing so, you also turn Forge metrics on.
In the Endeca Application Controller, you set the
web-service-port when you provision the Forge component. You can do this three ways:
- In Endeca Workbench, on the EAC Administration page.
- In a provisioning file used with the eaccmd tool (for details on provisioning a Forge component, see the Application Controller Guide.
- Programmatically, via the webServicePort on the ForgeComponentType object. For details, see the Endeca Application Controller Guide.
Outside of the Application Controller environment, you can also set or change the Web service port (and thus turn on Forge metrics) at the Forge commandline. The commandline argument for setting the metrics port is --wsport <port-number>.