Skip to content

Commit 1341404

Browse files
ryepupgithub-actions[bot]
authored andcommitted
update reference.json
1 parent 58b8d78 commit 1341404

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

reference-lib/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

reference-lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nginx/reference-lib",
3-
"version": "1.1.11",
3+
"version": "1.1.12",
44
"description": "",
55
"main": "dist/index.js",
66
"type": "module",

reference-lib/src/reference.json

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13314,8 +13314,8 @@
1331413314
"<p><code>{...}</code></p>\n"
1331513315
],
1331613316
"isBlock": true,
13317-
"description_md": "Specifies OTel data export parameters:\n\n- `endpoint`\n\n the address of OTLP/gRPC endpoint that will accept telemetry data.\n- `interval`\n\n the maximum interval between two exports,\n by default is `5` seconds.\n- `batch_size`\n\n the maximum number of spans to be sent in one batch per worker,\n by default is `512`.\n- `batch_count`\n\n the number of pending batches per worker,\n spans exceeding the limit are dropped,\n by default is `4`.\n\nExample:\n```\notel_exporter {\n endpoint localhost:4317;\n interval 5s;\n batch_size 512;\n batch_count 4;\n}\n```",
13318-
"description_html": "<p>Specifies OTel data export parameters:</p>\n\n<ul>\n<li><p><code>endpoint</code></p>\n\n<p>the address of OTLP/gRPC endpoint that will accept telemetry data.</p></li>\n\n<li><p><code>interval</code></p>\n\n<p>the maximum interval between two exports,\nby default is <code>5</code> seconds.</p></li>\n\n<li><p><code>batch_size</code></p>\n\n<p>the maximum number of spans to be sent in one batch per worker,\nby default is <code>512</code>.</p></li>\n\n<li><p><code>batch_count</code></p>\n\n<p>the number of pending batches per worker,\nspans exceeding the limit are dropped,\nby default is <code>4</code>.</p></li>\n</ul>\n\n<p>Example:</p>\n\n<pre><code>otel_exporter {\n endpoint localhost:4317;\n interval 5s;\n batch_size 512;\n batch_count 4;\n}\n</code></pre>\n"
13317+
"description_md": "Specifies OTel data export parameters:\n\n- `\n endpoint [(http|https)://]host:port;`\n\n OTLP/gRPC endpoint that will accept telemetry data.\n TLS is supported since 0.1.2.\n- `\n trusted_certificate path;`\n\n the CA certificates file in PEM format used to verify TLS endpoint\n (since 0.1.2).\n Defaults to OS provided CA bundle.\n- `header name value;`\n\n a custom HTTP header to add to telemetry export request (since 0.1.2).\n- `interval time;`\n\n the maximum interval between two exports,\n by default is `5` seconds.\n- `batch_size number;`\n\n the maximum number of spans to be sent in one batch per worker,\n by default is `512`.\n- `batch_count number;`\n\n the number of pending batches per worker,\n spans exceeding the limit are dropped,\n by default is `4`.\n\nExample:\n```\notel_exporter {\n endpoint https://otel-example.nginx.com:4317;\n\n header X-API-Token \"my-token-value\";\n}\n```",
13318+
"description_html": "<p>Specifies OTel data export parameters:</p>\n\n<ul>\n<li><p><code>\nendpoint [(http|https)://]host:port;</code></p>\n\n<p>OTLP/gRPC endpoint that will accept telemetry data.\nTLS is supported since 0.1.2.</p></li>\n\n<li><p><code>\ntrusted_certificate path;</code></p>\n\n<p>the CA certificates file in PEM format used to verify TLS endpoint\n(since 0.1.2).\nDefaults to OS provided CA bundle.</p></li>\n\n<li><p><code>header name value;</code></p>\n\n<p>a custom HTTP header to add to telemetry export request (since 0.1.2).</p></li>\n\n<li><p><code>interval time;</code></p>\n\n<p>the maximum interval between two exports,\nby default is <code>5</code> seconds.</p></li>\n\n<li><p><code>batch_size number;</code></p>\n\n<p>the maximum number of spans to be sent in one batch per worker,\nby default is <code>512</code>.</p></li>\n\n<li><p><code>batch_count number;</code></p>\n\n<p>the number of pending batches per worker,\nspans exceeding the limit are dropped,\nby default is <code>4</code>.</p></li>\n</ul>\n\n<p>Example:</p>\n\n<pre><code>otel_exporter {\n endpoint https://otel-example.nginx.com:4317;\n\n header X-API-Token &quot;my-token-value&quot;;\n}\n</code></pre>\n"
1331913319
},
1332013320
{
1332113321
"name": "otel_service_name",
@@ -13333,6 +13333,22 @@
1333313333
"description_md": "Sets the\n“[`service.name`](https://opentelemetry.io/docs/reference/specification/resource/semantic_conventions/#service)”\nattribute of the OTel resource.",
1333413334
"description_html": "<p>Sets the\n“<a href=\"https://opentelemetry.io/docs/reference/specification/resource/semantic_conventions/#service\" target=\"_blank\"><code>service.name</code></a>”\nattribute of the OTel resource.</p>\n"
1333513335
},
13336+
{
13337+
"name": "otel_resource_attr",
13338+
"default": "",
13339+
"contexts": [
13340+
"http"
13341+
],
13342+
"syntax_md": [
13343+
"*`name`* *`value`*"
13344+
],
13345+
"syntax_html": [
13346+
"<p><em><code>name</code></em> <em><code>value</code></em></p>\n"
13347+
],
13348+
"isBlock": false,
13349+
"description_md": "Sets a custom OTel resource attribute.",
13350+
"description_html": "<p>Sets a custom OTel resource attribute.</p>\n"
13351+
},
1333613352
{
1333713353
"name": "otel_trace",
1333813354
"default": "off",
@@ -16536,5 +16552,5 @@
1653616552
]
1653716553
}
1653816554
],
16539-
"version": "https://github.com/nginx/nginx.org/commit/602b6808b4d5ebe0d52b366bb95015116523cf54"
16555+
"version": "https://github.com/nginx/nginx.org/commit/ee02b9805d3699dee89a97c660064f602d3f2dc6"
1654016556
}

0 commit comments

Comments
 (0)