We currently deployed our Spring Boot Application in GKE(Google Kubernetes Engine) and we are currently using cloud endpoint to secure our web services. We have 11 web service developed which will be consumed by external clients. Is there any way i check the SLO (times, performance) of a webservice in cloud endpoint or in stackdriver.
You might want to check:
Spring sleuth
Jaeger operator
Jaeger is a opentracing standard and can help understand the values, and sleuth is a tool to integrate with spring, there are several options, you might want also to consider opencensus
First you need to expose metrics from your applications. Spring Sleuth is a great choice if you're using Spring Boot.
Then you need to collect the metrics and visualize them. Google provides a tool for that called Stackdriver Trace. It can also do metric-based alerts. You can find a sample setup for your use case here.
There are other performance monitoring services such as Dynatrace or Datadog.
If you want a self-hosted solution, you can use Zipkin which is inspired by an internal Google system called Dapper.
Have you looked at Google cloud console UI? Its "Endpoints" tag should show all services your project is running.
Related
I want to run a restapi server, a spring boot app, to kick start other docker containers inside of the same kubernetes cluster. I found these 2 packages:Spring Cloud Kubernetes and Kubernetes API Client. I am confused on what the difference between the two and which one should I use.
With Spring cloud cal version (2020.x.x), spring cloud Kubernetes comes with two implementations - Fabric8 and Kubernetes Java Client. See here.
NOTE - Prior to spring-cloud cal version spring-cloud-kubernetes used fabric8 impl
Both implementations works fine. While there are many, here is one of the blog comparing the two. In general Fabric8 seems to have more features.
I am not sure if the Spring community prefers any particular impl. Both projects are active.
Spring example here.
I too have an example using Frabric8 on github.
I want to call Spring cloud eureka application from TIBCO BE and BW for registering the tibco applications in Eureka service registry.
If you're running TIBCO BusinessWorks Container Edition, you can easily connect to Spring Cloud services by setting a few environment variables. The documentation on the TIBCO Docs website will explain which variables you need to set, depending on where you're running your apps (either CloudFoundry or Docker based). Specifically for CloudFoundry based environments, there are samples that will help guide you through deploying apps.
For the HTTP Connector you can refer to this doc page on how and what to set.
I have registered in Pivotal Web Services and do not see the Kafka service there. Is it available for a free trial plan ? How to use Kafka message broker with Pivotal Web Services?
At the time of me writing this, there is no Kafka service in the Pivotal Web Services marketplace. You can see the list of services that are publicly available here.
https://docs.run.pivotal.io/marketplace/services/
If you want to use Kafka with your apps, you'd need to bring your own service or use a third party service provider that's outside of the marketplace.
https://community.pivotal.io/s/article/Am-I-restricted-to-using-service-providers-that-are-in-the-Marketplace
I have looked at the options in the portal and also the resource group templates, but could not find a way to customize this list.
Also, is it possible to add custom perf counters (assuming the code already creates them) for monitoring in the service fabric application?
There is no integrated way to do this today, but there are three ways to do this:
Use Application Insights to monitor your application. There are some
details of how to do this with Application Insights that are not Service
Fabric specific here. There is also a project on GitHub that shows
how to integrate Azure Service Fabric with Application Insights.
Collect performance counters using Azure Diagnostics. Service Fabric is running on VMs, configuring diagnostics to collection from
an Azure VM can be found here.
Use Operations Management Suite which can also collect standard and custom performance counters. See links in the post below (I'm not allowed to post more than 2 links)
You could also try this approach: Setting up Application Insights for your Service Fabric application
We have an infrastructure with our own API gateway, service discovery and load balancing. However for resiliency purposes I need to use Hystrix.
With spring cloud netflix, can Hystrix (i.e. The circuit breaker annotation) be used without Eureka/ Ribbon or other Netflix OSS modules?
Are there any dependency to Eureka/ Ribbon / Zuul for circuit breaker dashboard (i.e. turbine and stream aggregator) ?
Can circuit breaker annotation be used in a non spring-boot application?
Spring Cloud Hystrix can be used without ribbon or eureka, just use spring-cloud-starter-hystrix. The hystrix dashboard can be used by directly going to each instances hystrix.stream one at a time. Hystrix can be used without spring boot if you use the Netflix package directly without using Spring Cloud.
Yes
No idea, run it and see if it pulls the dependencies.
Yes if it's used with spring and you declare all the necessary beans that spring boot with otherwise instantiate. Otherwise no (more in the FAQ - Can annotations be used?
I would suggest you to google a bit before posting questions like this, as it's on the edge of asking for a tool, which is not a suitable question for SO.