/kong-elastic-apm

Primary LanguageGoApache License 2.0Apache-2.0

Kong Elastic APM Plugin

CII Best Practices Stars Version License

This plugin enable the open telemetry feature on the Kong gateway to feed the Elastic Application Performance Monitoring solution. This plugin written in Go, leverage the Elastic APM Go agent.

To set up this plugin please follow the instructions of the APM Go agent, and refers to the environment variables setup, as there are mapped from the plugin configuration (to lower case).

Kong or Kong API Gateway is a cloud-native, platform-agnostic, scalable API Gateway distinguished for its high performance and extensibility via plugins.

By providing functionality for proxying, routing, load balancing, health checking, authentication, Kong serves as the central layer for orchestrating microservices or conventional API traffic with ease.

Kong runs natively on Kubernetes thanks to its official Kubernetes Ingress Controller.

Elastic Observability Unified visibility across your entire ecosystem Bring your logs, metrics, and APM traces together at scale in a single stack, so you can monitor and react to events happening anywhere in your environment. And it's free and open. Elastic

License

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Trying the plugin

Build the image:

docker-compose build

Run the image:

docker-compose up

Test the service:

curl -v http://localhost:8000/hello

You can now check APM metrics in Kibana: http://localhost:5601/app/apm