From cb48532196fb4c529e04f66817a997598e4422d5 Mon Sep 17 00:00:00 2001 From: svrnm Date: Fri, 19 Jan 2024 17:16:35 +0100 Subject: [PATCH] Rust registry updates Signed-off-by: svrnm --- .cspell.yml | 1 + .textlintrc.yml | 1 + .../exporter-rust-application-insights.yml | 4 ++++ data/registry/exporter-rust-jaeger.yml | 4 ++++ data/registry/exporter-rust-otlp.yml | 4 ++++ data/registry/exporter-rust-prometheus.yml | 4 ++++ data/registry/exporter-rust-stackdriver.yml | 4 ++++ data/registry/exporter-rust-stdout.yml | 17 +++++++++++++++++ data/registry/exporter-rust-zipkin.yml | 4 ++++ .../instrumentation-rust-actix-web.yml | 4 ++++ data/registry/instrumentation-rust-axum.yml | 19 +++++++++++++++++++ data/registry/instrumentation-rust-tide.yml | 4 ++++ .../registry/instrumentation-rust-tracing.yml | 4 ++++ scripts/update-registry-versions.sh | 3 +++ static/refcache.json | 4 ++++ 15 files changed, 81 insertions(+) create mode 100644 data/registry/exporter-rust-stdout.yml create mode 100644 data/registry/instrumentation-rust-axum.yml diff --git a/.cspell.yml b/.cspell.yml index 81c8246567a4..9b70161870a7 100644 --- a/.cspell.yml +++ b/.cspell.yml @@ -23,6 +23,7 @@ languageSettings: - CodeBlock words: - accountingservice + - actix - adservice - alibaba - Alloc diff --git a/.textlintrc.yml b/.textlintrc.yml index bc737deb6cff..370f7d2e2bee 100644 --- a/.textlintrc.yml +++ b/.textlintrc.yml @@ -25,6 +25,7 @@ rules: defaultTerms: false skip: [] terms: + - Actix - Ajax - Apache - API diff --git a/data/registry/exporter-rust-application-insights.yml b/data/registry/exporter-rust-application-insights.yml index 652a3601e460..61d4523bd50f 100644 --- a/data/registry/exporter-rust-application-insights.yml +++ b/data/registry/exporter-rust-application-insights.yml @@ -12,3 +12,7 @@ authors: urls: repo: https://github.com/frigus02/opentelemetry-application-insights createdAt: 2020-08-28 +package: + registry: crates + name: opentelemetry-application-insights + version: 0.29.0 diff --git a/data/registry/exporter-rust-jaeger.yml b/data/registry/exporter-rust-jaeger.yml index 8cd8c6d9fb89..bfccf6e0d705 100644 --- a/data/registry/exporter-rust-jaeger.yml +++ b/data/registry/exporter-rust-jaeger.yml @@ -11,3 +11,7 @@ authors: urls: repo: https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-jaeger createdAt: 2020-08-28 +package: + registry: crates + name: opentelemetry-jaeger + version: 0.20.0 diff --git a/data/registry/exporter-rust-otlp.yml b/data/registry/exporter-rust-otlp.yml index e3010ad74470..54444f4d31f2 100644 --- a/data/registry/exporter-rust-otlp.yml +++ b/data/registry/exporter-rust-otlp.yml @@ -14,3 +14,7 @@ authors: urls: repo: https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-otlp createdAt: 2020-08-28 +package: + registry: crates + name: opentelemetry-otlp + version: 0.14.0 diff --git a/data/registry/exporter-rust-prometheus.yml b/data/registry/exporter-rust-prometheus.yml index 7a5206f7143d..29736965258b 100644 --- a/data/registry/exporter-rust-prometheus.yml +++ b/data/registry/exporter-rust-prometheus.yml @@ -11,3 +11,7 @@ authors: urls: repo: https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-prometheus createdAt: 2020-08-28 +package: + registry: crates + name: opentelemetry-prometheus + version: 0.14.1 diff --git a/data/registry/exporter-rust-stackdriver.yml b/data/registry/exporter-rust-stackdriver.yml index fb55e48e0494..245153886d48 100644 --- a/data/registry/exporter-rust-stackdriver.yml +++ b/data/registry/exporter-rust-stackdriver.yml @@ -12,3 +12,7 @@ authors: urls: repo: https://github.com/vivint-smarthome/opentelemetry-stackdriver createdAt: 2020-08-28 +package: + registry: crates + name: opentelemetry-stackdriver + version: 0.18.0 diff --git a/data/registry/exporter-rust-stdout.yml b/data/registry/exporter-rust-stdout.yml new file mode 100644 index 000000000000..32e2970219c0 --- /dev/null +++ b/data/registry/exporter-rust-stdout.yml @@ -0,0 +1,17 @@ +title: OTLP Exporter +registryType: exporter +language: rust +tags: + - rust + - exporter +license: Apache 2.0 +description: This crate provides exporters that export to stdout or any implementation of [`std::io::Write`](https://doc.rust-lang.org/std/io/trait.Write.html). +authors: + - name: OpenTelemetry Authors +urls: + repo: https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-stdout +createdAt: 2024-01-19 +package: + registry: crates + name: opentelemetry-stdout + version: 0.2.0 diff --git a/data/registry/exporter-rust-zipkin.yml b/data/registry/exporter-rust-zipkin.yml index 674cb606c8ef..8af00f1ff54f 100644 --- a/data/registry/exporter-rust-zipkin.yml +++ b/data/registry/exporter-rust-zipkin.yml @@ -11,3 +11,7 @@ authors: urls: repo: https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-zipkin createdAt: 2020-08-28 +package: + registry: crates + name: opentelemetry-zipkin + version: 0.19.0 diff --git a/data/registry/instrumentation-rust-actix-web.yml b/data/registry/instrumentation-rust-actix-web.yml index 7199784e4fc8..029410813e18 100644 --- a/data/registry/instrumentation-rust-actix-web.yml +++ b/data/registry/instrumentation-rust-actix-web.yml @@ -12,3 +12,7 @@ authors: urls: repo: https://github.com/OutThereLabs/actix-web-opentelemetry createdAt: 2020-08-28 +package: + registry: crates + name: actix-web-opentelemetry + version: 0.16.0 diff --git a/data/registry/instrumentation-rust-axum.yml b/data/registry/instrumentation-rust-axum.yml new file mode 100644 index 000000000000..36dfddeda342 --- /dev/null +++ b/data/registry/instrumentation-rust-axum.yml @@ -0,0 +1,19 @@ +# cSpell:ignore axum +title: axum Instrumentation +registryType: instrumentation +language: rust +tags: + - rust + - axum + - instrumentation +license: CC0 1.0 +description: Middlewares to integrate axum + tracing + opentelemetry. +authors: + - name: David Bernard +urls: + repo: https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk/tree/main/axum-tracing-opentelemetry +createdAt: 2020-08-28 +package: + registry: crates + name: axum-tracing-opentelemetry + version: 0.16.0 diff --git a/data/registry/instrumentation-rust-tide.yml b/data/registry/instrumentation-rust-tide.yml index 65ce9b746889..4aa09a8b2c6c 100644 --- a/data/registry/instrumentation-rust-tide.yml +++ b/data/registry/instrumentation-rust-tide.yml @@ -12,3 +12,7 @@ authors: urls: repo: https://github.com/asaaki/opentelemetry-tide createdAt: 2020-08-28 +package: + registry: crates + name: opentelemetry-tide + version: 0.12.0 diff --git a/data/registry/instrumentation-rust-tracing.yml b/data/registry/instrumentation-rust-tracing.yml index 4fce4f635815..4cb399307fb5 100644 --- a/data/registry/instrumentation-rust-tracing.yml +++ b/data/registry/instrumentation-rust-tracing.yml @@ -13,3 +13,7 @@ authors: urls: repo: https://github.com/tokio-rs/tracing-opentelemetry createdAt: 2020-08-28 +package: + registry: crates + name: tracing-opentelemetry + version: 0.22.0 diff --git a/scripts/update-registry-versions.sh b/scripts/update-registry-versions.sh index 3dacc555e79e..707c81302b47 100755 --- a/scripts/update-registry-versions.sh +++ b/scripts/update-registry-versions.sh @@ -45,6 +45,9 @@ get_latest_version() { hex) curl -s "https://hex.pm/api/packages/$package_name" | jq -r '.releases | max_by(.inserted_at) | .version' ;; + crates) + curl -s "https://crates.io/api/v1/crates/$package_name" | jq -r '.crate | .newest_version' + ;; *) echo "Registry not supported." ;; diff --git a/static/refcache.json b/static/refcache.json index 914421f4b2ca..9b6e42ec40b1 100644 --- a/static/refcache.json +++ b/static/refcache.json @@ -519,6 +519,10 @@ "StatusCode": 206, "LastSeen": "2023-07-06T17:57:36.620937-04:00" }, + "https://crates.io/": { + "StatusCode": 206, + "LastSeen": "2024-01-19T16:56:12.042658+01:00" + }, "https://cri-o.io/": { "StatusCode": 206, "LastSeen": "2023-07-21T16:51:54.102328+02:00"