odigos

kubernetes

labels

instrumentation

Better application discovery with Kubernetes labels

Discover how Odigos simplifies application discovery using Kubernetes labels and provides more flexible instrumentation options.

Better application discovery with Kubernetes labels
Author
/eden.jpgEden Federman
May 16 2023

New way to discover applications

We are excited to release version v0.1.5 of Odigos today. This release introduces a new way to discover applications in Odigos using Kubernetes labels. Instrumenting all the applications in a specific namespace is now as easy as:

kubectl label ns my-namespace odigos-instrumentation=enabled

This will automatically instrument all the applications in the namespace my-namespace and any new applications that are deployed to the namespace. This label can be added to any namespace, deployment, stateful set, or daemon set.

Why change the discovery method?

Flexability

In previous versions of Odigos, discovering applications was done by choosing one of the following methods:

  • Opt In: Instrument only the applications that are explicitly configured to be instrumented.
  • Opt Out: Instrument all the applications in all the namespaces.

We listened to your feedback and decided to add a new discovery method that is more flexible and allows you to better control which applications are instrumented. With the new discovery method, you can choose to instrument all the applications in a specific namespace, or only the applications that are explicitly configured to be instrumented. You can even choose to instrument all the applications in a namespace, except for a few applications that you don't want to instrument by labeling them with odigos-instrumentation=disabled.

Remove UI dependency

As platform engineering teams, we understand that you want to automate as much as possible. This is why we are working on making Odigos as configurable as possible using YAML files. The new discovery method is the first step towards this goal. In the future, we will add more configuration options to Odigos, and we will make sure that all the configuration options are available in YAML files, or as CLI flags.

Better integration with Kubernetes

Kubernetes labels are a great way to add metadata to Kubernetes objects. They are used by many Kubernetes tools, and they are a great way to integrate Odigos with other tools. For example, you can use labels to integrate Odigos with your CI/CD pipeline and automatically instrument all the applications that are deployed to a specific namespace.

Feedback

As always, we would love to hear your feedback. Please reach out to us on Odigos Slack or GitHub if you have any questions or suggestions.

If you want to learn more about how you can generate distributed traces instantly check out our GitHub repository. We'd really appreciate it if you could throw us a ⭐👇
https://github.com/keyval-dev/odigos

Related posts

Meet Odigos at KubeCon + CloudNativeCon North America 2023

Meet Odigos at KubeCon + CloudNativeCon North America 2023

Meet the People Behind Odigos at KubeCon in Chicago

Meet Odigos at KubeCon + CloudNativeCon North America 2023

Ari Recht

Oct 23 2023

Sending OpenTelemetry data to Google Cloud Storage

Sending OpenTelemetry data to Google Cloud Storage

Learn how to send OpenTelemetry data to Google Cloud Storage using Odigos, improving your data storage and analysis capabilities.

Sending OpenTelemetry data to Google Cloud Storage

Eden Federman

Feb 16 2023

How Keyval Automates the Deployment of Go Microservices with ko build

How Keyval Automates the Deployment of Go Microservices with ko build

Learn how Keyval utilizes the ko build tool to effortlessly build and deploy Go microservices in Kubernetes, streamlining the development process.

How Keyval Automates the Deployment of Go Microservices with ko build

Amir Blum

Aug 25 2023