You can send metrics to the Standalone Machine Agent using its HTTP listener. You can report metrics through the Standalone Machine Agent by making HTTP calls to the agent instead of piping to the agent through sysout.
To activate the HTTP listener
Restart the Standalone Machine Agent using metric.http.listener:
If you do not specify the optional metric.http.listener.port, it defaults to 8293.
To send metrics
To send events
To upload metrics
You can use GET or POST to upload metrics to the Metric Browser under Application Performance -> <Tier> where the tier is the one defined for the Standalone Machine Agent. For example:
Valid values for type are:
- average: Average of all one-minute data points when adding it to the 10-minute or 60-minute granularity table.
- sum: Sum of all one-minute data points when adding it to the 10-minute or 60-minute granularity table.
- current: Last reported one-minute data point in that 10-minute or 60-minute interval.
To upload events
Send events using HTTP get requests to:
Event_type is one of the following: