From 69a4a779758cdacece1e282788eb9cec2c2f0a06 Mon Sep 17 00:00:00 2001 From: svrnm Date: Thu, 27 Jul 2023 11:48:46 +0200 Subject: [PATCH 1/3] Move Ruby adopters to data-driven list --- .../en/docs/instrumentation/ruby/_index.md | 14 +-------- data/ecosystem/adopters.yaml | 30 +++++++++++++++++++ .../docs/instrumentation/index-adopters.md | 15 ++++++++++ static/refcache.json | 16 ++++++++++ 4 files changed, 62 insertions(+), 13 deletions(-) create mode 100644 layouts/shortcodes/docs/instrumentation/index-adopters.md diff --git a/content/en/docs/instrumentation/ruby/_index.md b/content/en/docs/instrumentation/ruby/_index.md index d656b16a8f58..c8129859adfc 100644 --- a/content/en/docs/instrumentation/ruby/_index.md +++ b/content/en/docs/instrumentation/ruby/_index.md @@ -9,19 +9,7 @@ weight: 24 {{% docs/instrumentation/index-intro ruby /%}} -## Who's using OpenTelemetry Ruby? - -OpenTelemetry Ruby is in use by a number of companies, including: - -- [Heroku](https://heroku.com) -- [GitHub](https://github.com) -- [Fulcrum](https://www.fulcrumapp.com) -- [Puppet](https://puppet.com) -- [Shopify](https://shopify.com) -- [TableCheck](https://www.tablecheck.com) -- [Dropbox DocSend](https://www.docsend.com) - -If you would like to add your name to this list, submit a pull request. +{{% docs/instrumentation/index-adopters ruby %}} ## Repository diff --git a/data/ecosystem/adopters.yaml b/data/ecosystem/adopters.yaml index ddfd9bd9b8a5..fd40b58d2f7c 100644 --- a/data/ecosystem/adopters.yaml +++ b/data/ecosystem/adopters.yaml @@ -62,3 +62,33 @@ components: [] reference: '' contact: '' +- name: Heroku + url: https://heroku.com + components: [Ruby] + reference: '' + contact: '' +- name: GitHub + url: https://github.com + components: [Ruby] + reference: '' + contact: '' +- name: Fulcrum + url: https://www.fulcrumapp.com/ + components: [Ruby] + reference: '' + contact: '' +- name: Puppet + url: https://puppet.com/ + components: [Ruby] + reference: '' + contact: '' +- name: TableCheck + url: https://www.tablecheck.com/ + components: [Ruby] + reference: '' + contact: '' +- name: Dropbox DocSend + url: https://www.docsend.com/ + components: [Ruby] + reference: '' + contact: '' diff --git a/layouts/shortcodes/docs/instrumentation/index-adopters.md b/layouts/shortcodes/docs/instrumentation/index-adopters.md new file mode 100644 index 000000000000..fbb040537ada --- /dev/null +++ b/layouts/shortcodes/docs/instrumentation/index-adopters.md @@ -0,0 +1,15 @@ +{{ $lang := .Get 0 | humanize -}} +{{ $data := $.Site.Data.ecosystem.adopters }} + +## Who's using OpenTelemetry {{ $lang }}? + +OpenTelemetry {{ $lang }} is in use by a number of organizations, including: + +{{- range $data }} + {{- if in .components $lang }} +- [{{ .name }}]({{ .url }}) + {{- end }} +{{- end }} + +To have your organisation listed, follow the +[instructions given at the bottom of the Adopters page](/ecosystem/adopters/). \ No newline at end of file diff --git a/static/refcache.json b/static/refcache.json index 5d82c3c6bfd6..1fa7adb6e5a8 100644 --- a/static/refcache.json +++ b/static/refcache.json @@ -4063,6 +4063,10 @@ "StatusCode": 200, "LastSeen": "2023-06-30T09:22:04.273071-04:00" }, + "https://puppet.com/": { + "StatusCode": 200, + "LastSeen": "2023-07-27T11:39:59.329638+02:00" + }, "https://pwn.recipes/posts/roll-your-own-e2ee-protocol/": { "StatusCode": 200, "LastSeen": "2023-06-28T13:37:36.342515-04:00" @@ -4535,6 +4539,10 @@ "StatusCode": 206, "LastSeen": "2023-06-29T18:48:50.359313-04:00" }, + "https://www.docsend.com/": { + "StatusCode": 206, + "LastSeen": "2023-07-27T11:40:03.470355+02:00" + }, "https://www.dynatrace.com/": { "StatusCode": 200, "LastSeen": "2023-06-30T16:24:46.847829-04:00" @@ -4611,6 +4619,10 @@ "StatusCode": 206, "LastSeen": "2023-06-30T09:21:53.962879-04:00" }, + "https://www.fulcrumapp.com/": { + "StatusCode": 206, + "LastSeen": "2023-07-27T11:39:58.642572+02:00" + }, "https://www.gnupg.org/gph/en/manual/x135.html#AEN160": { "StatusCode": 206, "LastSeen": "2023-06-28T13:36:03.871847-04:00" @@ -5091,6 +5103,10 @@ "StatusCode": 200, "LastSeen": "2023-06-30T09:22:14.019714-04:00" }, + "https://www.tablecheck.com/": { + "StatusCode": 200, + "LastSeen": "2023-07-27T11:40:02.004206+02:00" + }, "https://www.techtarget.com/searchapparchitecture/tip/The-reasons-to-use-or-not-use-sidecars-in-Kubernetes": { "StatusCode": 200, "LastSeen": "2023-07-24T11:52:39.043398+02:00" From 87962fbc522998b8d4bee07c719ef79f0f1be56e Mon Sep 17 00:00:00 2001 From: Severin Neumann Date: Fri, 28 Jul 2023 13:05:24 +0200 Subject: [PATCH 2/3] Update layouts/shortcodes/docs/instrumentation/index-adopters.md Co-authored-by: Patrice Chalin --- .../docs/instrumentation/index-adopters.md | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/layouts/shortcodes/docs/instrumentation/index-adopters.md b/layouts/shortcodes/docs/instrumentation/index-adopters.md index fbb040537ada..66ea3732022c 100644 --- a/layouts/shortcodes/docs/instrumentation/index-adopters.md +++ b/layouts/shortcodes/docs/instrumentation/index-adopters.md @@ -1,15 +1,18 @@ -{{ $lang := .Get 0 | humanize -}} -{{ $data := $.Site.Data.ecosystem.adopters }} + +{{ $lang := .Get 0 -}} +{{ $Lang := $lang | humanize -}} +{{ $howMany := .Get 1 | default 10 -}} +{{ $adopters := where $.Site.Data.ecosystem.adopters ".components" "intersect" (slice $Lang) -}} -## Who's using OpenTelemetry {{ $lang }}? +## Who's using OpenTelemetry {{ $Lang }}? -OpenTelemetry {{ $lang }} is in use by a number of organizations, including: +OpenTelemetry {{ $Lang }} is in use by a number of organizations, including: -{{- range $data }} - {{- if in .components $lang }} -- [{{ .name }}]({{ .url }}) - {{- end }} +{{ range first $howMany (sort $adopters "name") -}} + + +- [{{ .name }}]({{ .url }}) {{- end }} -To have your organisation listed, follow the -[instructions given at the bottom of the Adopters page](/ecosystem/adopters/). \ No newline at end of file +For the complete list, and instructions for adding your organization, see +[Adopters](/ecosystem/adopters/). \ No newline at end of file From 874f0c5c628551b65ba4c5b4faf66a626b950138 Mon Sep 17 00:00:00 2001 From: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com> Date: Fri, 28 Jul 2023 11:34:08 +0000 Subject: [PATCH 3/3] Results from /fix:format --- layouts/shortcodes/docs/instrumentation/index-adopters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/docs/instrumentation/index-adopters.md b/layouts/shortcodes/docs/instrumentation/index-adopters.md index 66ea3732022c..2676d3d1c177 100644 --- a/layouts/shortcodes/docs/instrumentation/index-adopters.md +++ b/layouts/shortcodes/docs/instrumentation/index-adopters.md @@ -15,4 +15,4 @@ OpenTelemetry {{ $Lang }} is in use by a number of organizations, including: {{- end }} For the complete list, and instructions for adding your organization, see -[Adopters](/ecosystem/adopters/). \ No newline at end of file +[Adopters](/ecosystem/adopters/).