Skip to content

Commit 68b0afa

Browse files
authored
Don't render deprecated enum members (#1764)
1 parent 578c4bf commit 68b0afa

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed

docs/attributes-registry/db.md

-5
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,9 @@ Semantic conventions for individual database systems SHOULD document what `db.re
8888
| Value | Description | Stability |
8989
|---|---|---|
9090
| `adabas` | Adabas (Adaptable Database System) | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
91-
| `cache` | Deprecated, use `intersystems_cache` instead. | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `intersystems_cache`. |
9291
| `cassandra` | Apache Cassandra | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
9392
| `clickhouse` | ClickHouse | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
94-
| `cloudscape` | Deprecated, use `other_sql` instead. | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `other_sql`. |
9593
| `cockroachdb` | CockroachDB | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
96-
| `coldfusion` | Deprecated, no replacement at this time. | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Removed. |
9794
| `cosmosdb` | Microsoft Azure Cosmos DB | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
9895
| `couchbase` | Couchbase | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
9996
| `couchdb` | CouchDB | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
@@ -104,7 +101,6 @@ Semantic conventions for individual database systems SHOULD document what `db.re
104101
| `elasticsearch` | Elasticsearch | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
105102
| `filemaker` | FileMaker | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
106103
| `firebird` | Firebird | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
107-
| `firstsql` | Deprecated, use `other_sql` instead. | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `other_sql`. |
108104
| `geode` | Apache Geode | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
109105
| `h2` | H2 | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
110106
| `hanadb` | SAP HANA | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
@@ -122,7 +118,6 @@ Semantic conventions for individual database systems SHOULD document what `db.re
122118
| `memcached` | Memcached | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
123119
| `mongodb` | MongoDB | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
124120
| `mssql` | Microsoft SQL Server (This value has stability level RELEASE CANDIDATE) | ![Release Candidate](https://img.shields.io/badge/-rc-mediumorchid) |
125-
| `mssqlcompact` | Deprecated, Microsoft SQL Server Compact is discontinued. | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Removed, use `other_sql` instead. |
126121
| `mysql` | MySQL (This value has stability level RELEASE CANDIDATE) | ![Release Candidate](https://img.shields.io/badge/-rc-mediumorchid) |
127122
| `neo4j` | Neo4j | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
128123
| `netezza` | Netezza | ![Experimental](https://img.shields.io/badge/-experimental-blue) |

docs/attributes-registry/messaging.md

-2
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@ size should be used.
6666
| Value | Description | Stability |
6767
|---|---|---|
6868
| `create` | A message is created. "Create" spans always refer to a single message and are used to provide a unique creation context for messages in batch sending scenarios. | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
69-
| `deliver` | Deprecated. Use `process` instead. | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `process`. |
7069
| `process` | One or more messages are processed by a consumer. | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
71-
| `publish` | Deprecated. Use `send` instead. | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `send`. |
7270
| `receive` | One or more messages are requested by a consumer. This operation refers to pull-based scenarios, where consumers explicitly call methods of messaging SDKs to receive messages. | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
7371
| `send` | One or more messages are provided for sending to an intermediary. If a single message is sent, the context of the "Send" span can be used as the creation context and no "Create" span needs to be created. | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
7472
| `settle` | One or more messages are settled. | ![Experimental](https://img.shields.io/badge/-experimental-blue) |

docs/attributes-registry/system.md

-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ Describes System Memory attributes
8181
| `buffers` | buffers | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
8282
| `cached` | cached | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
8383
| `free` | free | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
84-
| `shared` | shared | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Removed, report shared memory usage with `metric.system.memory.shared` metric |
8584
| `used` | used | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
8685

8786
## System Paging Attributes

templates/registry/markdown/enum_macros.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% import 'stability.j2' as stability %}
2-
{% macro filter(member) %}{% if snippet_type is not defined or (member.deprecated is none or member.deprecated == "") %}{{ "True" }}{% else %}{{ "False" }}{% endif %}{% endmacro %}
2+
{% macro filter(member) %}{% if (member.deprecated is none or member.deprecated == "") %}{{ "True" }}{% else %}{{ "False" }}{% endif %}{% endmacro %}
33
{% macro table(enum, notes) %}
44
---
55

0 commit comments

Comments
 (0)