Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 9.9% on proxy.golang.org

proxy.golang.org : github.com/pinpoint-apm/pinpoint-go-agent/plugin/sarama-IBM

Package ppsaramaibm instruments the IBM/sarama package (https://github.com/IBM/sarama). This package instruments Kafka consumers and producers. To instrument a Kafka consumer, use ConsumeMessageContext. In order to display the kafka broker on the pinpoint screen, a context with broker addresses must be created and delivered using NewContext. ConsumePartition example: ConsumerGroupHandler example: ConsumeMessageContext passes a context added pinpoint.Tracer to HandlerContextFunc. In HandlerContextFunc, this tracer can be obtained by using the pinpoint.FromContext function. To instrument a Kafka producer, use NewSyncProducer or NewAsyncProducer. It is necessary to pass the context containing the pinpoint.Tracer to sarama.SyncProducer (or sarama.AsyncProducer) using WithContext function.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/pinpoint-apm/pinpoint-go-agent/plugin/sarama-%21i%21b%21m
Keywords: agent, apm, distributed-tracing, go, monitoring, performance, pinpoint
License: Apache-2.0
Latest release: 5 months ago
First release: 5 months ago
Namespace: github.com/pinpoint-apm/pinpoint-go-agent/plugin
Stars: 43 on GitHub
Forks: 16 on GitHub
Total Commits: 226
Committers: 9
Average commits per author: 25.111
Development Distribution Score (DDS): 0.053
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: 13 days ago

    Loading...
    Readme
    Loading...