update Scrape Counter
Updates the scrape counter metrics for the specified operation type.
This method increments the counter for scrape operations, categorized by type (e.g., "success", "failure", "timeout"). The metrics are labeled with the agent's launch ID for tracking across agent restarts.
Parameters
type
The type/category of scrape operation. Empty strings are ignored.