kandi background
Explore Kits

spring-cloud-alibaba | Spring Cloud Alibaba provides a onestop solution | Microservice library

 by   alibaba Java Version: 2021.0.1.0 License: Apache-2.0

 by   alibaba Java Version: 2021.0.1.0 License: Apache-2.0

Download this library from

kandi X-RAY | spring-cloud-alibaba Summary

spring-cloud-alibaba is a Java library typically used in Architecture, Microservice, Spring Boot, Spring, Kafka applications. spring-cloud-alibaba has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has medium support. You can download it from GitHub, Maven.
A project maintained by Alibaba. See the 中文文档 for Chinese readme. Spring Cloud Alibaba provides a one-stop solution for distributed application development. It contains all the components required to develop distributed applications, making it easy for you to develop your applications using Spring Cloud. With Spring Cloud Alibaba, you only need to add some annotations and a small amount of configurations to connect Spring Cloud applications to the distributed solutions of Alibaba, and build a distributed application system with Alibaba middleware.
Support
Support
Quality
Quality
Security
Security
License
License
Reuse
Reuse

kandi-support Support

  • spring-cloud-alibaba has a medium active ecosystem.
  • It has 21810 star(s) with 6768 fork(s). There are 981 watchers for this library.
  • There were 1 major release(s) in the last 6 months.
  • There are 361 open issues and 1326 have been closed. On average issues are closed in 19 days. There are 19 open pull requests and 0 closed requests.
  • It has a neutral sentiment in the developer community.
  • The latest version of spring-cloud-alibaba is 2021.0.1.0
spring-cloud-alibaba Support
Best in #Microservice
Average in #Microservice
spring-cloud-alibaba Support
Best in #Microservice
Average in #Microservice

quality kandi Quality

  • spring-cloud-alibaba has 0 bugs and 0 code smells.
spring-cloud-alibaba Quality
Best in #Microservice
Average in #Microservice
spring-cloud-alibaba Quality
Best in #Microservice
Average in #Microservice

securitySecurity

  • spring-cloud-alibaba has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
  • spring-cloud-alibaba code analysis shows 0 unresolved vulnerabilities.
  • There are 0 security hotspots that need review.
spring-cloud-alibaba Security
Best in #Microservice
Average in #Microservice
spring-cloud-alibaba Security
Best in #Microservice
Average in #Microservice

license License

  • spring-cloud-alibaba 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.
spring-cloud-alibaba License
Best in #Microservice
Average in #Microservice
spring-cloud-alibaba License
Best in #Microservice
Average in #Microservice

buildReuse

  • spring-cloud-alibaba 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.
  • spring-cloud-alibaba saves you 12877 person hours of effort in developing the same functionality from scratch.
  • It has 30355 lines of code, 2659 functions and 500 files.
  • It has medium code complexity. Code complexity directly impacts maintainability of the code.
spring-cloud-alibaba Reuse
Best in #Microservice
Average in #Microservice
spring-cloud-alibaba Reuse
Best in #Microservice
Average in #Microservice
Top functions reviewed by kandi - BETA

kandi has reviewed spring-cloud-alibaba and discovered the below as its top functions. This is intended to give you an instant insight into spring-cloud-alibaba implemented functionality, and help decide if they suit your requirements.

  • Subscribes the given url to the web service .
  • Register bean .
  • Check health of Sentinel .
  • Inits a new producer .
  • refresh general service info
  • Check block4 rest template .
  • Intercept the request .
  • Clone external URLs .
  • Resolve the Http message converter .
  • Utility method to unwrap a message and payload .

spring-cloud-alibaba Key Features

Flow control and service degradation: Flow control for HTTP services is supported by default. You can also customize flow control and service degradation rules using annotations. The rules can be changed dynamically.

Service registration and discovery: Service can be registered and clients can discover the instances using Spring-managed beans, auto integration Ribbon.

Distributed configuration: Support for externalized configuration in a distributed system, auto refresh when configuration changes.

Event-driven: Support for building highly scalable event-driven microservices connected with shared messaging systems.

Distributed Transaction: Support for distributed transaction solution with high performance and ease of use.

Alibaba Cloud Object Storage: Massive, secure, low-cost, and highly reliable cloud storage services. Support for storing and accessing any type of data in any application, anytime, anywhere.

Alibaba Cloud SchedulerX: Accurate, highly reliable, and highly available scheduled job scheduling services with response time within seconds.

Alibaba Cloud SMS: A messaging service that covers the globe, Alibaba SMS provides convenient, efficient, and intelligent communication capabilities that help businesses quickly contact their customers.

Community Discussions

Trending Discussions on Microservice
  • Exclude Logs from Datadog Ingestion
  • Custom Serilog sink with injection?
  • How to manage Google Cloud credentials for local development
  • using webclient to call the grapql mutation API in spring boot
  • Jdeps Module java.annotation not found
  • How to make a Spring Boot application quit on tomcat failure
  • Deadlock on insert/select
  • Rewrite host and port for outgoing request of a pod in an Istio Mesh
  • Checking list of conditions on API data
  • Traefik v2 reverse proxy without Docker
Trending Discussions on Microservice

QUESTION

Exclude Logs from Datadog Ingestion

Asked 2022-Mar-19 at 22:38

I have a kubernetes cluster that's running datadog and some microservices. Each microservice makes healthchecks every 5 seconds to make sure the service is up and running. I want to exclude these healthcheck logs from being ingested into Datadog.

I think I need to use log_processing_rules and I've tried that but the healthcheck logs are still making it into the logs section of Datadog. My current Deployment looks like this:

apiVersion: apps/v1
kind: Deployment
[ ... SNIP ... ]
spec:
  replicas: 2
  selector:
    matchLabels:
      app: my-service
  template:
    metadata:
      labels:
        app: my-service
        version: "fac8fb13"
      annotations:
        rollme: "IO2ad"
        tags.datadoghq.com/env: development
        tags.datadoghq.com/version: "fac8fb13"
        tags.datadoghq.com/service: my-service
        tags.datadoghq.com/my-service.logs: |
          [{
            "source": my-service,
            "service": my-service,
            "log_processing_rules": [
              {
                "type": "exclude_at_match",
                "name": "exclude_healthcheck_logs",
                "pattern": "\"RequestPath\": \"\/health\""
              }
            ]
          }]

and the logs coming out of the kubernetes pod:

$ kubectl logs my-service-pod

{
  "@t": "2022-01-07T19:13:05.3134483Z",
  "@m": "Request finished HTTP/1.1 GET http://10.64.0.80:5000/health - - - 200 - text/plain 7.5992ms",
  "@i": "REDACTED",
  "ElapsedMilliseconds": 7.5992,
  "StatusCode": 200,
  "ContentType": "text/plain",
  "ContentLength": null,
  "Protocol": "HTTP/1.1",
  "Method": "GET",
  "Scheme": "http",
  "Host": "10.64.0.80:5000",
  "PathBase": "",
  "Path": "/health",
  "QueryString": "",
  "HostingRequestFinishedLog": "Request finished HTTP/1.1 GET http://10.64.0.80:5000/health - - - 200 - text/plain 7.5992ms",
  "EventId": {
    "Id": 2,
    "Name": "RequestFinished"
  },
  "SourceContext": "Microsoft.AspNetCore.Hosting.Diagnostics",
  "RequestId": "REDACTED",
  "RequestPath": "/health",
  "ConnectionId": "REDACTED",
  "dd_service": "my-service",
  "dd_version": "54aae2b5",
  "dd_env": "development",
  "dd_trace_id": "REDACTED",
  "dd_span_id": "REDACTED"
}

EDIT: Removed 2nd element of the log_processing_rules array above as I've tried with 1 and 2 elements in the rules array.

EDIT2: I've also tried changing log_processing_rules type to INCLUDE at match in an attempt to figure this out:

"log_processing_rules": [
  {
    "type": "include_at_match",
    "name": "testing_include_at_match",
    "pattern": "somepath"
  }
]

and I'm still getting the health logs in Datadog (in theory I should not as /health is not part of the matching pattern)

ANSWER

Answered 2022-Jan-12 at 20:28

I think the problem is that you're defining multiple patterns; the docs state, If you want to match one or more patterns you must define them in a single expression.

Try somtething like this and see what happens:

"log_processing_rules": [
  {
    "type": "exclude_at_match",
    "name": "exclude_healthcheck_logs",
    "pattern": "\/health|\"RequestPath\": \"\/health\""
  }

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

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

Vulnerabilities

No vulnerabilities reported

Install spring-cloud-alibaba

Spring Cloud uses Maven for most build-related activities, and you should be able to get off the ground quite quickly by cloning the project you are interested in and typing:.
2020.0 branch: Corresponds to Spring Cloud 2020 & Spring Boot 2.4.x. JDK 1.8 or later versions are supported.
master branch: Corresponds to Spring Cloud Hoxton & Spring Boot 2.2.x. JDK 1.8 or later versions are supported.
greenwich branch: Corresponds to Spring Cloud Greenwich & Spring Boot 2.1.x. JDK 1.8 or later versions are supported.
finchley branch: Corresponds to Spring Cloud Finchley & Spring Boot 2.0.x. JDK 1.8 or later versions are supported.
1.x branch: Corresponds to Spring Cloud Edgware & Spring Boot 1.x, JDK 1.7 or later versions are supported.

Support

Mailing list is recommended for discussing almost anything related to spring-cloud-alibaba. spring-cloud-alibaba@googlegroups.com: You can ask questions here if you encounter any problem when using or developing spring-cloud-alibaba.

DOWNLOAD this Library from

Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

Share this Page

share link
Consider Popular Microservice Libraries
Compare Microservice Libraries with Highest Support
Compare Microservice Libraries with Highest Security
Compare Microservice Libraries with Permissive License
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

  • © 2022 Open Weaver Inc.