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

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/lytics/gowrapmx4j

gowrapmx4j is a base library of types to assist UnMarshalling and Querying MX4J data. MX4J is a very useful service which makes JMX data accessible via HTTP. Unfortunately little is done to improve the data's representation and it is returned as dense raw XML via an API frought with perilous query variables which are poorly documented. The types and unmarshalling structures defined here have sorted out some of the XML saddness returned from MX4J and makes it easier to operate on the data stuctures. Why? Java databases are still industry standard and there's a lot of mindshare built around them. Sadly their tools can be very arcane or non-existant. This library is built specifically to help surface useful information from Cassandra's MX4J endpoint to assist in debugging, monitoring, and management. Basic API Primer: Types* are the basic structs created to aid interaction/querying MX4J, unmarshall data from XML endpoints. The Registry is a concurrent safe map of MX4J data which is updated when queries are made. This is to reduce the number of calls to MX4J if multiple goroutines want to access the data. The Distill* API aids in cleaning up the data structures created from unmarshalling the XML API. DistillAttribute and DistillAttributeTypes are the main functions which return clean data structures for http endpoints. Example: Showcases some ways to use features of gowrapmx4j

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/lytics/gowrapmx4j
License: Apache-2.0
Latest release: about 9 years ago
First release: about 9 years ago
Namespace: github.com/lytics
Last synced: 3 months ago

    Loading...
    Readme
    Loading...