Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
7150c50
Add zipkin_input_otel package for Zipkin trace collection
github-actions[bot] Feb 4, 2026
bfeeaab
Update zipkin_otellogo.svg with proper Zipkin + OTel combined logo
github-actions[bot] Feb 4, 2026
964f910
Update changelog link.
mrodm Feb 4, 2026
baab446
Update zipkin_otellogo.svg with official Zipkin logo from openzipkin …
github-actions[bot] Feb 4, 2026
504ffd6
Merge branch 'main' into claude/issue-17155-20260204-1126
theletterf Feb 4, 2026
177a3ee
Update system test to split the sample traces files
mrodm Feb 4, 2026
695fa7f
Merge remote-tracking branch 'upstream/main' into claude/issue-17155-…
mrodm Feb 18, 2026
1fc759e
Update zipkin logo with otel logo
mrodm Feb 18, 2026
e1e72c9
Set a new Golang script to post JSON files to zipkin
mrodm Feb 18, 2026
10dc7df
Set minimum kibana version
mrodm Feb 18, 2026
8a7e95a
Update docker-compose.yml with TODO regarding zipkin_input_otel servi…
mrodm Feb 18, 2026
7acdfa7
Fix comments in dockerfile
mrodm Feb 19, 2026
777175a
Refactor trace sending logic in test script
mrodm Feb 19, 2026
b7cbbed
Allow to set the pattern to read for the samples as environment variable
mrodm Feb 19, 2026
0856ba0
Refactor docker-compose setup and add trace sending script
mrodm Feb 20, 2026
b1d50e9
Update policy tests
mrodm Feb 20, 2026
1548262
Add TLS configuration options to Zipkin input manifest and update rel…
mrodm Feb 20, 2026
c4e49dd
Remove port from docker-compose scenario
mrodm Feb 20, 2026
6f79334
Update zipking and otel logo
mrodm Feb 23, 2026
3259fc8
Update logo to avoid using embedded images
mrodm Feb 23, 2026
8302da9
Update default value for tls_insecure field
mrodm Feb 23, 2026
495eeae
Remove Dockerfile and Go source files for unused test tool
mrodm Feb 24, 2026
fe518ff
Update docs
mrodm Feb 26, 2026
5ae2e17
Update comments and notes in scripts
mrodm Mar 3, 2026
37850b3
Merge remote-tracking branch 'upstream/main' into claude/issue-17155-…
mrodm Mar 3, 2026
5a28fff
Update curl command - disabled temporarily
mrodm Mar 4, 2026
865f29a
Merge remote-tracking branch 'upstream/main' into claude/issue-17155-…
mrodm Mar 24, 2026
89fec12
Update policy tests
mrodm Mar 24, 2026
8a091e1
Remove tls settings related to client config
mrodm Mar 25, 2026
c50805e
Set a default value for tls.min_version
mrodm Mar 25, 2026
ee3ff3c
[system tests] Add queries that cause error 404
mrodm Mar 25, 2026
f8c2416
Add sample_event.json
mrodm Mar 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,7 @@
/packages/zeek @elastic/integration-experience
/packages/zerofox @elastic/security-service-integrations
/packages/zeronetworks @elastic/security-service-integrations
/packages/zipkin_input_otel @elastic/ecosystem
/packages/zookeeper @elastic/obs-infraobs-integrations
/packages/zoom @elastic/security-service-integrations
/packages/zscaler_zia @elastic/security-service-integrations
Expand Down
93 changes: 93 additions & 0 deletions packages/zipkin_input_otel/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Elastic License 2.0

URL: https://www.elastic.co/licensing/elastic-license

## Acceptance

By using the software, you agree to all of the terms and conditions below.

## Copyright License

The licensor grants you a non-exclusive, royalty-free, worldwide,
non-sublicensable, non-transferable license to use, copy, distribute, make
available, and prepare derivative works of the software, in each case subject to
the limitations and conditions below.

## Limitations

You may not provide the software to third parties as a hosted or managed
service, where the service provides users with access to any substantial set of
the features or functionality of the software.

You may not move, change, disable, or circumvent the license key functionality
in the software, and you may not remove or obscure any functionality in the
software that is protected by the license key.

You may not alter, remove, or obscure any licensing, copyright, or other notices
of the licensor in the software. Any use of the licensor's trademarks is subject
to applicable law.

## Patents

The licensor grants you a license, under any patent claims the licensor can
license, or becomes able to license, to make, have made, use, sell, offer for
sale, import and have imported the software, in each case subject to the
limitations and conditions in this license. This license does not cover any
patent claims that you cause to be infringed by modifications or additions to
the software. If you or your company make any written claim that the software
infringes or contributes to infringement of any patent, your patent license for
the software granted under these terms ends immediately. If your company makes
such a claim, your patent license ends immediately for work on behalf of your
company.

## Notices

You must ensure that anyone who gets a copy of any part of the software from you
also gets a copy of these terms.

If you modify the software, you must include in any modified copies of the
software prominent notices stating that you have modified the software.

## No Other Rights

These terms do not imply any licenses other than those expressly granted in
these terms.

## Termination

If you use the software in violation of these terms, such use is not licensed,
and your licenses will automatically terminate. If the licensor provides you
with a notice of your violation, and you cease all violation of this license no
later than 30 days after you receive that notice, your licenses will be
reinstated retroactively. However, if you violate these terms after such
reinstatement, any additional violation of these terms will cause your licenses
to terminate automatically and permanently.

## No Liability

*As far as the law allows, the software comes as is, without any warranty or
condition, and the licensor will not be liable to you for any damages arising
out of these terms or the use or nature of the software, under any kind of
legal claim.*

## Definitions

The **licensor** is the entity offering these terms, and the **software** is the
software the licensor makes available under these terms, including any portion
of it.

**you** refers to the individual or entity agreeing to these terms.

**your company** is any legal entity, sole proprietorship, or other kind of
organization that you work for, plus all organizations that have control over,
are under the control of, or are under common control with that
organization. **control** means ownership of substantially all the assets of an
entity, or the power to direct its management and policies by vote, contract, or
otherwise. Control can be direct or indirect.

**your licenses** are all the licenses granted to you for the software under
these terms.

**use** means anything you do with the software requiring one of your licenses.

**trademark** means trademarks, service marks, and similar rights.
22 changes: 22 additions & 0 deletions packages/zipkin_input_otel/_dev/build/docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Zipkin OpenTelemetry Input Package

## Overview
The Zipkin OpenTelemetry Input Package for Elastic enables collection of trace data from applications instrumented with [Zipkin](https://zipkin.io/) through OpenTelemetry protocols using the [zipkinreceiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/zipkinreceiver#zipkin-receiver).

### How it works
This package receives Zipkin trace data (V1 and V2 JSON/Protobuf formats) by configuring the Zipkin receiver in the Input Package, which then gets applied to the zipkinreceiver present in the EDOT collector, which then forwards the data to Elastic Agent. The Elastic Agent processes and enriches the data before sending it to Elasticsearch for indexing and analysis.

## Configuration

For the full list of settings exposed for the receiver and examples, refer to the [Zipkin Receiver documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/zipkinreceiver).

## Troubleshooting

If you encounter issues:

1. Verify the endpoint is accessible and not blocked by a firewall.
2. Ensure applications are sending Zipkin-formatted traces to the configured endpoint (default: `http://<host>:9411`).
3. Check the Elastic Agent logs for any receiver errors.

## Traces reference
For more details about the Zipkin receiver and its configuration options, refer to the [Zipkin Receiver documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/zipkinreceiver) in the upstream OpenTelemetry Collector repository.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: '2.3'
services:
run_queries:
image: curlimages/curl
environment:
- TARGET_URL=http://backend:9000
volumes:
- ./scripts/run_queries.sh:/run_queries.sh
command: ["sh", "/run_queries.sh"]
depends_on:
backend:
condition: service_healthy
# Scenario based on the example defined in
# https://github.com/openzipkin/brave-example/tree/a71b18511b4fc8cbbe67ea2a6fd5ca43048c2465/docker
# https://github.com/openzipkin/brave-example/blob/a71b18511b4fc8cbbe67ea2a6fd5ca43048c2465/README.md#running-the-example
# The backend container is used to generate traces that are sent to the elastic-agent container.
backend:
image: ghcr.io/openzipkin/brave-example:armeria
entrypoint: start-backend
environment:
- ZIPKIN_BASEURL=http://elastic-agent:9411
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/usr/bin/env sh

set -ex

TARGET_URL=${TARGET_URL:-http://backend:9000}
SLEEP_TIME=${SLEEP_TIME:-5}

# NOTE: backend container is the one that requires to communicate with the elastic-agent container
# to send the traces to the zipkin receiver port. If set the SIGHUP signal in the test system configuration
# file, that signal would be received by the backend container and it gets killed.
# Therefore, the SIGHUP signal is not used to start the workload and it is done here instead (separate container).

# Wait for the elastic-agent container to be ready with the corresponding
# agent policy assigned
sleep ${SLEEP_TIME}

echo "Sending traces to ${TARGET_URL}/api"
i=0
while true; do
echo "Trigger query ${i}"
# Force creating traces containing requests with errors
# The following curl command will fail with a 404 error per the backend code.
curl -s -o /dev/null "${TARGET_URL}"

## Create traces without any errors
# curl ${TARGET_URL}/api will return a 200 status code
curl -s -o /dev/null "${TARGET_URL}/api"
i=$((i+1))
sleep 1
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
connectors:
elasticapm/componentid-0: {}
forward: {}
exporters:
elasticsearch/componentid-0:
endpoints:
- https://elasticsearch:9200
inputs: []
output_permissions:
default:
_elastic_agent_checks:
cluster:
- monitor
_elastic_agent_monitoring:
indices: []
uuid-for-permissions-on-related-indices:
indices:
- names:
- traces-*-*
privileges:
- auto_configure
- create_doc
- names:
- logs-generic.otel-*
privileges:
- auto_configure
- create_doc
- names:
- metrics-*-*
privileges:
- auto_configure
- create_doc
processors:
elasticapm/componentid-0: {}
transform/componentid-0:
metric_statements:
- context: datapoint
statements:
- set(attributes["data_stream.namespace"], "ep")
transform/componentid-1:
trace_statements:
- context: span
statements:
- set(attributes["data_stream.type"], "traces")
- set(attributes["data_stream.dataset"], "zipkin.custom")
- set(attributes["data_stream.namespace"], "ep")
- context: spanevent
statements:
- set(attributes["data_stream.type"], "logs")
- set(attributes["data_stream.namespace"], "ep")
receivers:
zipkin/componentid-0:
endpoint: 0.0.0.0:9411
parse_string_tags: true
secret_references: []
service:
pipelines:
metrics:
exporters:
- elasticsearch/componentid-0
receivers:
- forward
metrics/componentid-1:
exporters:
- forward
processors:
- transform/componentid-0
receivers:
- elasticapm/componentid-0
traces:
exporters:
- elasticsearch/componentid-0
receivers:
- forward
traces/componentid-0:
exporters:
- elasticapm/componentid-0
- forward
processors:
- elasticapm/componentid-0
- transform/componentid-1
receivers:
- zipkin/componentid-0
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
vars:
endpoint: "0.0.0.0:9411"
parse_string_tags: true
data_stream.dataset: "zipkin.custom"
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
connectors:
forward: {}
exporters:
elasticsearch/componentid-0:
endpoints:
- https://elasticsearch:9200
inputs: []
output_permissions:
default:
_elastic_agent_checks:
cluster:
- monitor
_elastic_agent_monitoring:
indices: []
uuid-for-permissions-on-related-indices:
indices:
- names:
- traces-*-*
privileges:
- auto_configure
- create_doc
- names:
- logs-generic.otel-*
privileges:
- auto_configure
- create_doc
processors:
transform/componentid-0:
trace_statements:
- context: span
statements:
- set(attributes["data_stream.type"], "traces")
- set(attributes["data_stream.dataset"], "zipkinreceiver")
- set(attributes["data_stream.namespace"], "ep")
- context: spanevent
statements:
- set(attributes["data_stream.type"], "logs")
- set(attributes["data_stream.namespace"], "ep")
receivers:
zipkin/componentid-0:
endpoint: 0.0.0.0:9411
parse_string_tags: true
secret_references: []
service:
pipelines:
traces:
exporters:
- elasticsearch/componentid-0
receivers:
- forward
traces/componentid-0:
exporters:
- forward
processors:
- transform/componentid-0
receivers:
- zipkin/componentid-0
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
vars:
endpoint: "0.0.0.0:9411"
parse_string_tags: true
use_apm: false
Loading
Loading