Open
Description
According to the spec, we "may" add the Supportability/Agent/Collector/MaxPayloadSizeLimit/ metric and increment when hitting the payload larger than max case. Can you see what the work is needed to add?
Looking at how other metrics are handled in the daemon it appears we would need to add a counter in client.go which kept up with the number of times a paylaod is created and discarded over the maximum limit as well as have a way to access this from src/newrelic/harvest.go. Then in the function createFinalMetrics() in harvest.go we would need to add a call to h.Metrics.AddCount() for this metric.