how to get dropwizard metrics web ui - dropwizard

I am trying to give some web user interface to the dropwizard metrics. Checked Graphite and Ganglia but I need something which can be easily installed on windows and linux,as well.
Could not configure metrics-watcher because the metrics in my application are dynamic. Also configured jclawson/metrics-ui but did not find the ui appealing. Please suggest me if there are any other sources which can be easily integrated.

Pipelined the metrics to Kibana. I was expecting a web interface where can I search the metrics contents, configuring meaningful widgets and dashboards for the same, Kibana fulfills my requirement.

Related

Where are my monitoring metrics in Iguazio?

Iguazio is supposed to be monitoring models and also resource metrics across the cluster like resource usage per pod / service, etc. When I open up the grafana service I only see a few pre-built dashboards for model monitoring and nuclio functions but nothing at the cluster level. Do I have to create my own dashboards for this?
There are actually different grafana dashboards being used in Iguazio. The grafana dashboard you are referring to is for the platform users and is found on the services page. This includes all your model monitoring dashboards as you mentioned.
There is another grafana service that is used by the Iguazio system which comes pre-installed. You can access it by navigating to the Clusters page, under the Application tab, Status Dashboard column there is an icon that is a link which takes you to that grafana service. See this screenshot:
There you will find about 15 dashboards related to kubernetes, NGINX, GPUs, Nuclio, and Iguazio services resources monitoring. This constitutes the "cluster-level" monitoring that you were referring to.

how to monitor Keycloak on dynatrace

I'm trying to monitor Keycloak on dynatrace, but I see only process metrics.
is there a way to see metrics about sessions, Connected Users...
an existing plugin for keycloak on dynatrace?
If you want to monitor Keycloak you will see it as a process only and not on a transaction level unfortunately.
Supported technologies can be viewed here: https://www.dynatrace.com/support/help/shortlink/supported-technologies
If there is option of collecting of extra Parameters you can always create a custom OneAgent extension. There is currently not a plugin available. You will be able to define the metrics that you would like to see in the UI: https://www.dynatrace.com/support/help/shortlink/oneagent-extensions-tutorial

Spring Cloud Data Flow - rabbitmq source sink example

i am looking at the documentation for spring Cloud Data flow.
https://dataflow.spring.io/docs/recipes/rabbitmq/rabbit-source-sink/
This example that uses RabbitMQ as source and sink is using Spring Cloud Streams framework - which is fine. But it doesn't show how these 3 apps - source, sink and processor can be deployed to Spring Cloud Data Flow (SCDF), it simply just runs three jars locally and they talk to each other via RabbitMQ Queues.
I am not sure how this shows the use of SCDF in this case. There's no involvement of SCDF in this case. A proper example that shows how to deploy this jars as apps inside the SCDF needs to be provided. am i missing anything in this case?. i am hoping somebody else has tried them and can share their feedback about my concern.
The documentation here covers the SCDF part of how to manage those source, processor and sink applications.

Using Document Discovery service on a non-app engine service

I have been playing around with the RPC package in Dart which makes it easy to add a Document Discovery service to Dart server.
After a bit of Googling I found out about the API Discovery Service https://developers.google.com/discovery/ which explained how to create client code for a given Discovery Document.
I then found Google Cloud Endpoint which looks like the server end of the a Document Discovery service. Is this true.
My real question is that I would like to use the Document Discovery service on a standard web site that is based on (say) Spring and running (say) an embedded Jetty server? Is this possible or would my application be intertwined with the App Engine Technology?
You application just needs to provide a Document Discovery service.
It shouldn't be to hard to get the information what is expected out of the source of https://pub.dartlang.org/packages/discovery_api_client_generator which is the Dart client which generates Dart client code from discovery documents. As far as I know your service doesn't even need to provide the discovery documents. The discovery_api_client_generator package can also use discovery documents stored locally but the service is of course the preferred way if you want to make it available to everyone.
I would see it as equivalent to SOAP which also allows to create client code from meta-information provided as XML.
Also the shelf_rpc package doesn't need to run on AppEngine or Managed VM. You can run it locally or on any server you want.

use of jmx in web application

can somebody list the uses of JMX in web application other than logging. I am new to JMX and logging seems to be the only good use of JMX.
Thanks in advance
You can you JMX to administer and manage components of a web application. For starters, most, if not all, Java EE web application servers register a lot of MBeans to provide monitoring and administration capabilities to several of their resources such as, connection pools, transaction managers, deployed applications, etc. You can then use a JMX client, like JConsole that comes with the JDK/JRE, to attach to a running application server and manage those components.
You can take it one step further, by creating and registering you own, custom MBeans to help manage and control portions of your applications. As an example, if your web app is using a cache of some kind to boost response times, you could create a control object that is capable of flushing the cache, change entry eviction times, disabling the cache, etc. Then you could register the control with the MBean server which in turn would make it accessible through the JMX client.
I have done this many times to provide an administration console into my web applications without the need to create any custom user interface.

Resources