base on OpenTelemetry Collector distribution with programmable pipelines <p align="center"> <img src="docs/sources/assets/logo_alloy_light.svg#gh-dark-mode-only" alt="Grafana Alloy logo" height="100px"> <img src="docs/sources/assets/logo_alloy_dark.svg#gh-light-mode-only" alt="Grafana Alloy logo" height="100px"> </p> <p align="center"> <a href="https://github.com/grafana/alloy/releases"><img src="https://img.shields.io/github/release/grafana/alloy.svg" alt="Latest Release"></a> <a href="https://grafana.com/docs/alloy/latest"><img src="https://img.shields.io/badge/Documentation-link-blue?logo=gitbook" alt="Documentation link"></a> </p> Grafana Alloy is an open source OpenTelemetry Collector distribution with built-in Prometheus pipelines and support for metrics, logs, traces, and profiles. <p> <img src="docs/sources/assets/alloy_screenshot.png"> </p> ## What can Alloy do? * **Programmable pipelines**: Use a rich [expression-based syntax][syntax] for configuring powerful observability pipelines. * **OpenTelemetry Collector Distribution**: Alloy is a [distribution][] of OpenTelemetry Collector and supports dozens of its components, alongside new components that make use of Alloy's programmable pipelines. * **Big tent**: Alloy embraces Grafana's "big tent" philosophy, where Alloy can be used with other vendors or open source databases. It has components to perfectly integrate with multiple telemetry ecosystems: * [OpenTelemetry Collector][] * [Prometheus][] * [Grafana Loki][] * [Grafana Pyroscope][] * **Kubernetes-native**: Use components to interact with native and custom Kubernetes resources; no need to learn how to use a separate Kubernetes operator. * **Shareable pipelines**: Use [modules][] to share your pipelines with the world. * **Automatic workload distribution**: Configure Alloy instances to form a [cluster][] for automatic workload distribution. * **Centralized configuration support**: Alloy supports retrieving its configuration from a [server][remotecfg] for centralized configuration management. * **Debugging utilities**: Use the [built-in UI][ui] for visualizing and debugging pipelines. [syntax]: https://grafana.com/docs/alloy/latest/concepts/configuration-syntax/ [distribution]: https://opentelemetry.io/docs/collector/distributions/ [OpenTelemetry Collector]: https://opentelemetry.io [Prometheus]: https://prometheus.io [Grafana Loki]: https://github.com/grafana/loki [Grafana Pyroscope]: https://github.com/grafana/pyroscope [modules]: https://grafana.com/docs/alloy/latest/concepts/modules/ [cluster]: https://grafana.com/docs/alloy/latest/concepts/clustering/ [remotecfg]: https://grafana.com/docs/alloy/latest/reference/config-blocks/remotecfg/ [ui]: https://grafana.com/docs/alloy/latest/tasks/debug/ ## Example ```alloy otelcol.receiver.otlp "example" { grpc { endpoint = "127.0.0.1:4317" } output { metrics = [otelcol.processor.batch.example.input] logs = [otelcol.processor.batch.example.input] traces = [otelcol.processor.batch.example.input] } } otelcol.processor.batch "example" { output { metrics = [otelcol.exporter.otlp.default.input] logs = [otelcol.exporter.otlp.default.input] traces = [otelcol.exporter.otlp.default.input] } } otelcol.exporter.otlp "default" { client { endpoint = "my-otlp-grpc-server:4317" } } ``` ## Getting started Check out our [documentation][] to see: * [Installation instructions][install] for Alloy * Steps for [Getting started][get-started] with Alloy * The list of Alloy [components][] [documentation]: https://grafana.com/docs/alloy/latest [install]: https://grafana.com/docs/alloy/latest/get-started/install/ [get-started]: https://grafana.com/docs/alloy/latest/get-started/ [components]: https://grafana.com/docs/alloy/latest/reference/components/ ## Release cadence A new minor release is planned every six weeks. The release cadence is best-effort: if necessary, releases may be performed outside of this cadence, or a scheduled release date can be moved forwards or backwards. Minor releases published on cadence include updating dependencies for upstream OpenTelemetry Collector code if new versions are available. Minor releases published outside of the release cadence may not include these dependency updates. Patch and security releases may be published at any time. ## Community To engage with the Alloy community: * Chat with us on our community Slack channel. To invite yourself to the Grafana Slack, visit <https://slack.grafana.com/> and join the `#alloy` channel. * Ask questions on the [Grafana community site][community]. * [File an issue][issue] for bugs, issues, and feature suggestions. * Attend the monthly [community call][community-call]. [community]: https://community.grafana.com/c/grafana-alloy [issue]: https://github.com/grafana/alloy/issues/new [community-call]: https://docs.google.com/document/d/1TqaZD1JPfNadZ4V81OCBPCG_TksDYGlNlGdMnTWUSpo ## Contributing Refer to our [contributors guide][] to learn how to contribute. Thanks to all the people who have already contributed! <a href="https://github.com/grafana/alloy/graphs/contributors"> <img src="https://contributors-img.web.app/image?repo=grafana/alloy" /> </a> [contributors guide]: https://github.com/grafana/alloy/blob/main/docs/developer/contributing.md ", Assign "at most 3 tags" to the expected json: {"id":"9254","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"