This documentation has an index for AI agents at /llms.txt. A Markdown version of this page is available at https://explorer.opentelemetry.io/collector/components/contrib/expvarreceiver.md.

Expvar Receiver

OpenTelemetry Collector receiver · contrib distribution

An Expvar Receiver scrapes metrics from expvar, which exposes data in JSON format from an HTTP endpoint. The metrics are extracted from the expvar variable memstats, which exposes various information about the Go runtime.

  • Component ID: contrib-expvarreceiver
  • Name: expvarreceiver
  • Type: receiver
  • Distribution: contrib
  • Repository: opentelemetry-collector-contrib

Stability

LevelSignals
alphametrics

Metrics

MetricTypeValue typeUnitStabilityEnabledAttributesDescription
process.runtime.memstats.buck_hash_syssumintBydevelopmentyesBytes of memory in profiling bucket hash tables. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.freessum (monotonic)int{objects}developmentyesCumulative count of heap objects freed. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.gc_cpu_fractiongaugedouble1developmentyesThe fraction of this program's available CPU time used by the GC since the program started. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.gc_syssumintBydevelopmentyesBytes of memory in garbage collection metadata. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.heap_allocsumintBydevelopmentyesBytes of allocated heap objects. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.heap_idlesumintBydevelopmentyesBytes in idle (unused) spans. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.heap_inusesumintBydevelopmentyesBytes in in-use spans. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.heap_objectssumint{objects}developmentyesNumber of allocated heap objects. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.heap_releasedsumintBydevelopmentyesBytes of physical memory returned to the OS. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.heap_syssumintBydevelopmentyesBytes of heap memory obtained by the OS. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.last_pausegaugeintnsdevelopmentyesThe most recent stop-the-world pause time. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.lookupssumint{lookups}developmentnoNumber of pointer lookups performed by the runtime. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.mallocssum (monotonic)int{objects}developmentyesCumulative count of heap objects allocated. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.mcache_inusesumintBydevelopmentyesBytes of allocated mcache structures. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.mcache_syssumintBydevelopmentyesBytes of memory obtained from the OS for mcache structures. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.mspan_inusesumintBydevelopmentyesBytes of allocated mspan structures. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.mspan_syssumintBydevelopmentyesBytes of memory obtained from the OS for mspan structures. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.next_gcsumintBydevelopmentyesThe target heap size of the next GC cycle. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.num_forced_gcsum (monotonic)intBydevelopmentyesNumber of GC cycles that were forced by the application calling the GC function. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.num_gcsum (monotonic)intBydevelopmentyesNumber of completed GC cycles. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.other_syssumintBydevelopmentyesBytes of memory in miscellaneous off-heap runtime allocations. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.pause_totalsum (monotonic)intBydevelopmentyesThe cumulative nanoseconds in GC stop-the-world pauses since the program started. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.stack_inusesumintBydevelopmentyesBytes in stack spans. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.stack_syssumintBydevelopmentyesBytes of stack memory obtained from the OS. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.syssumintBydevelopmentyesTotal bytes of memory obtained from the OS. As defined by https://pkg.go.dev/runtime#MemStats
process.runtime.memstats.total_allocsum (monotonic)intBydevelopmentnoCumulative bytes allocated for heap objects. As defined by https://pkg.go.dev/runtime#MemStats

Data

  • JSON (latest): /data/collector/components/contrib-expvarreceiver/latest.json
  • JSON (pinned): /data/collector/components/contrib-expvarreceiver/contrib-expvarreceiver-24235bb9ca19.json
  • Explore: /collector/components/contrib/expvarreceiver