Harvest configuration methods
Method | Description |
|---|---|
Set harvest time, the time the samples are buffered before being sent to New Relic for both Events and Logs. Min value is 60. | |
Set harvest time for Events, the time the events are buffered before being sent to New Relic. Min value is 60. | |
Set harvest time for Logs, the time the logs are buffered before being sent to New Relic. Min value is 60. | |
Set harvest time for Logs, the time the logs are buffered before being sent to New Relic. Min value is 60. | |
Do harvest events and logs immediately. It doesn't reset the harvest timer. | |
Do harvest events immediately. It doesn't reset the harvest timer. | |
Do harvest logs immediately. It doesn't reset the harvest timer. |
Examples
nrSetHarvestTime
nrSetHarvestTime(m.nr, 60)nrSetHarvestTimeEvents
nrSetHarvestTimeEvents(m.nr, 60)nrSetHarvestTimeLogs
nrSetHarvestTimeLogs(m.nr, 60)nrSetHarvestTimeMetrics
nrSetHarvestTimeMetrics(m.nr, 60)nrForceHarvest
nrForceHarvest(m.nr)nrForceHarvestEvents
nrForceHarvestEvents(m.nr)nrForceHarvestLogs
nrForceHarvestLogs(m.nr)