Skip to content

MUST create MaxPayloadSizeLimit Supportability Metric #465

Open
@zsistla

Description

@zsistla

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions