hawkular-metrics | Time Series Metrics Engine based on Cassandra | Time Series Database library

 by   hawkular Java Version: 0.28.8 License: Apache-2.0

kandi X-RAY | hawkular-metrics Summary

kandi X-RAY | hawkular-metrics Summary

hawkular-metrics is a Java library typically used in Database, Time Series Database, Prometheus, Grafana applications. hawkular-metrics has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub, Maven.

Hawkular Metrics is the metric data storage engine part of Hawkular community.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              hawkular-metrics has a low active ecosystem.
              It has 229 star(s) with 76 fork(s). There are 36 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              hawkular-metrics has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of hawkular-metrics is 0.28.8

            kandi-Quality Quality

              hawkular-metrics has 0 bugs and 0 code smells.

            kandi-Security Security

              hawkular-metrics has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              hawkular-metrics code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              hawkular-metrics is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              hawkular-metrics releases are available to install and integrate.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              It has 28526 lines of code, 2137 functions and 303 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed hawkular-metrics and discovered the below as its top functions. This is intended to give you an instant insight into hawkular-metrics implemented functionality, and help decide if they suit your requirements.
            • Starts the Cassandra cluster
            • Waits for the schema to be updated
            • Start data access
            • Creates a session
            • Converts a row of rows to datapoints
            • Converts a byte value to an availability type
            • Reschedules a job
            • Create a value for a RepeatingTrigger
            • Starts the query
            • Performs an action on a tick
            • Renew locks
            • Writes the mappings table to the OpenShift_Mapping table
            • Initialize prepared statements
            • Executes a job
            • Increments the stream
            • Makes a temporary prepared insert statement
            • Gets period values matching the given predicate
            • Deserialize tags from a ByteBuffer
            • Retrieves the namespaces mapping for a set of tenants
            • Invoked when a job is scheduled
            • Searches for a data point
            • Handle the configuration options
            • Gets the metric data for the specified ID
            • Handles a data point
            • Retrieves period periods
            • Computes the compressed point containers
            Get all kandi verified functions for this library.

            hawkular-metrics Key Features

            No Key Features are available at this moment for hawkular-metrics.

            hawkular-metrics Examples and Code Snippets

            No Code Snippets are available at this moment for hawkular-metrics.

            Community Discussions

            QUESTION

            How to monitor thread count for apps in Hawkular metrics in Grafana?
            Asked 2019-Feb-25 at 13:32

            I'm working on creating a dashboard where I can monitor the thread count for apps which are present in hawkular-metrics from openshift. (The datasource is already configured).

            I do have a json file for creating dashbboard for memory usage for all the pods in our openshift project. But how do I modify it to display thread count for the pods in hawkular metrics. Currently it is displaying Average, Min and Max memory etc for all the apps in out openshift project.

            The descriptor name used for memory usage in tags inside the json file is memory/usage. What would be the descriptor name for thread count? And are there any modifications that I should do. Does Hawkular actually export thread count related metrics?

            Here's the json file for memory usage:

            ...

            ANSWER

            Answered 2019-Feb-25 at 13:31

            I am not aware of any thread count metric in openshift w/ hawkular.

            It's using heapster under the hood, see the metrics here: https://github.com/kubernetes-retired/heapster/blob/master/docs/storage-schema.md#metrics.

            But I'm not 100% sure if all of them are reported into hawkular.

            Source https://stackoverflow.com/questions/54865004

            QUESTION

            hawkular data accessing error
            Asked 2018-Jun-14 at 12:40

            We are getting metrics details by the below command:

            curl --insecure --cacert ca.crt -H "Authorization: Bearer 2XwxlTO_ls_HqpwTe5OWhGwuTu5qEzFxVGIhe761V7A" -H "Hawkular-Tenant: openshift-infra" -X GET https://hawkular-metrics.example.com/hawkular/metrics/metrics

            We do not get data using below command:

            curl --insecure --cacert ca.crt -H "Authorization: Bearer 2XwxlTO_ls_HqpwTe5OWhGwuTu5qEzFxVGIhe761V7A" -H "Hawkular-Tenant: openshift-infra" -X GET https://hawkular-metrics.example.com/hawkular/metrics/counter/data?tags=descrpitor_name:cpu/usage,pod_name:hawkular-cassandra

            we are getting below error:

            "errorMsg":"RESTEASY003210: Could not find resource for full path: https://hawkular-metrics.example.com/hawkular/metrics/counter"

            ...

            ANSWER

            Answered 2018-Jun-14 at 12:40

            I think you mistyped the URL, there's a s at counters. See the doc: http://www.hawkular.org/docs/rest/rest-metrics.html#GET__counters_data

            By the way I think you will have to provide at least buckets or bucketDuration parameter to your query, else you'll get another error.

            Source https://stackoverflow.com/questions/50855817

            QUESTION

            Cannot access hawkular metrics
            Asked 2018-May-31 at 01:02

            I have install openshift origin 3.9 using inventory file like you. I have used below line for metrics installation:

            ...

            ANSWER

            Answered 2018-May-31 at 01:02

            Is hawkular-metrics.example.com/hawkular/metrics/metics accessible from client? Either a DNS Server or a local /etc/hosts entry should resolve hawkular-metrics.example.com to the node where router pod resides.

            Source https://stackoverflow.com/questions/50582572

            QUESTION

            How to call Hawkular from Vert.x
            Asked 2017-May-10 at 03:19

            I want to get the metrics from vert.x with Hawkular, but I have problem. Following the tutorial of this. http://vertx.io/docs/vertx-hawkular-metrics/java/

            Then, I change the code of the tutorial of vert.x http://vertx.io/blog/my-first-vert-x-3-application/

            like this.

            from this

            ...

            ANSWER

            Answered 2017-May-09 at 15:17

            I think the test process finishes before the metrics had time to get reported. I tried with your example (which looks correct beside this timing issue), and had to put a Thread.sleep of 1 second after publishing on the event bus in order to see something in Hawkular.

            curl -u jdoe:password -H "Hawkular-Tenant: com.acme" http://localhost:8080/hawkular/metrics/counters

            now gives

            [{"id":"vertx.eventbus.publishedRemoteMessages","dataRetention":14,"type":"counter","tenantId":"com.acme"},{"id":"vertx.pool.worker.vert.x-internal-blocking.queuedCount","dataRetention":14,"type":"counter","tenantId":"com.acme"},{"id":"vertx.eventbus.receivedMessages","dataRetention":14,"type":"counter","tenantId":"com.acme"}, etc.

            Source https://stackoverflow.com/questions/43872338

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install hawkular-metrics

            There are a couple of options for running Hawkular Metrics:. The WildFly distribution is a pre-configured WildFly 10 server that includes Hawkular Alerts in addition to Hawkular Metrics. Check out the Metrics releases page and download the latest version of hawkular-metrics-wildfly-standalone-X.Y.Z.Final.tar.gz. The EAR distribution includes both Hawkular Metrics and Hawkular Alerts. Check out the Metrics releases page and download the latest version of hawkular-metrics-standalone-dist-X.Y.Z.Final.ear. Copy the EAR file to the standalone/deployments directory. You will have to manually configure WildFly.
            WildFly distribution
            EAR distribution
            A running Cassandra cluster, which can be a single node, is required for unit and integration tests. If you only want to build the sources without a running C* cluster, you can run ./mvnw install -DskipTests.
            For development or testing, the easiest way to setup Cassandra is to use the Cassandra Cluster Manager, CCM. These steps build and start a single node cluster of Cassandra. Note that while it is recommended to use ccm, it is not necessary. You just need to make sure you have a running 3.0.12 cluster.

            Support

            If you are a user of Hawkular Metrics please ask your question in the Hawkular user forum. To contribute or participate in design discussion, please use the Hawkular developer mailing list. We love contributions and pull-requests :-). To file an issue, please use the Hawkular-Metrics JIRA. To chat, join us on Freenode IRC in channel #hawkular. If you can not use the irc protocol, you can also use a web to irc gateway like Web chat on Freenode. Hawkular-Metrics is @hawkular_org on Twitter.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/hawkular/hawkular-metrics.git

          • CLI

            gh repo clone hawkular/hawkular-metrics

          • sshUrl

            git@github.com:hawkular/hawkular-metrics.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link