<commit_before>---
title: "Feature Matrix"
date: 2019-02-01T12:15:00-07:00
draft: false
weight: 100
---

This matrix shows feature compatibility for OpenCensus languages.
{{% tabs Tracing Tags Stats Metrics Resource Exporters%}}

Feature|Java|Go|C#|Python|Nodejs|PHP|Ruby|Erlang/Elixir
---|---|---|---|---|---|---|---|---
<b>Core Data Models</b>||||||||
SpanContext|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Tracestate|Yes|Yes|Yes|Yes|Yes|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|Yes
Attributes (String/Bool/Int)|Yes|Yes|Yes|Yes|Yes|<span style="color: #CF7675">String Only</span>|Yes|Yes
Attributes Double/Float64|Yes|Yes|Yes|Yes|Yes|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|Yes
Link|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Annotation|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
SpanKind|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
MessageEvent|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Start/End Time|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
SpanData (for exporting)|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Status|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
<b>Trace Configs</b>||||||||
TraceParam Limits (Attributes, Annotations, etc.)|Yes|Yes|Yes|<span style="color: #CF7675">No</span>|Yes|<span style="color: #CF7675">No</span>|Yes|<span style="color: #CF7675">No</span>
<b>Basic Operations</b>||||||||
Create a root span|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Put span into/get span from current context|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Create a span from current context|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Create a span with explicit parent|Yes|Yes|Yes|Yes|Yes|<span style="color: #CF7675">No</span>|Yes|Yes
Add attributes, links, annotations, message events|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Register/Unregister Exporters|Yes|Yes|Yes|Yes|Yes|<span style="color: #CF7675">Register only (use Agent)</span>|Yes|
Child Span Count|Yes|Yes|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|Yes|No|Yes|Yes
Override sampling for a span|Yes|Yes|Yes|<span style="color: #CF7675">No</span>|Yes|<span style="color: #CF7675">No</span>|Yes|Yes
<b>Propagation</b>||||||||
Binary Format - gRPC|Yes|Yes|Yes|Yes|Yes|<span style="color: #6bb1e0">Client only</span>|<span style="color: #CF7675">No</span>|Yes
W3C TraceContext Format - HTTP|Yes|Yes|Yes|Yes|Yes|<span style="color: #CF7675">No</span>|Yes|Yes
B3 Format - HTTP|Yes|Yes|Yes|Yes|Yes|<span style="color: #6bb1e0">In Progress</span>|<span style="color: #CF7675">No</span>|<span style="color: #6bb1e0">In Progress</span>
Google Cloud Text Format|Yes|Yes|<span style="color: #CF7675">No</span>|Yes|Yes|Yes|Yes|<span style="color: #CF7675">No</span>

Feature|Java|Go|C#|Python|Nodejs|PHP|Ruby|Erlang/Elixir
---|---|---|---|---|---|---|---|---
<b>Core Data Models</b>||||||||
Tag|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
TagKey (restrictions apply)|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
TagValue (restrictions apply)|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
TagMap|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
TagMetadata|Yes|<span style="color: #6bb1e0">In Progress</span>|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|Yes|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>
<b>Basic Operations</b>||||||||
Validate TagKey and TagValue|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Insert a list of Tags into current context|Yes|Yes|Yes|<span style="color: #CF7675">No</span>|Yes|Yes|Yes|Yes
Get Tags from current context|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Update Tags in current context|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
<b>Propagation</b>||||||||
Binary Format|Yes|Yes|<span style="color: #CF7675">No</span>|Yes|Yes|Yes|<span style="color: #CF7675">No</span>|Yes
Text Format (W3C)|Yes|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|<span style="color: #6bb1e0">In Progress</span>|Yes|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|Yes
gRPC Propagation|Yes|Yes|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|Yes|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>
HTTP Propagation|<span style="color: #6bb1e0">In Progress</span>|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|<span style="color: #6bb1e0">In Progress</span>|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>

Feature|Java|Go|C#|Python|Nodejs|PHP|Ruby|Erlang/Elixir
---|---|---|---|---|---|---|---|---
<b>Core Data Models</b>||||||||
Measure (Int64 and Double)|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Measurement (Int64 and Double)|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
MeasureMap or equivalent (allow for batch recording)|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Aggregation (Count, Sum, LastValue, Distribution)|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Bucket Boundaries (only with postive bounds)|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
AggregationData (Count, Sum, LastValue, Distribution)|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes<commit_msg>Feature Matrix: Update 04/29 (#685)<commit_after>---
title: "Feature Matrix"
date: 2019-02-01T12:15:00-07:00
draft: false
weight: 100
---

This matrix shows feature compatibility for OpenCensus languages.
{{% tabs Tracing Tags Stats Metrics Resource Exporters%}}

Feature|Java|Go|C#|Python|Nodejs|PHP|Ruby|Erlang/Elixir
---|---|---|---|---|---|---|---|---
<b>Core Data Models</b>||||||||
SpanContext|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Tracestate|Yes|Yes|Yes|Yes|Yes|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|Yes
Attributes (String/Bool/Int)|Yes|Yes|Yes|Yes|Yes|<span style="color: #CF7675">String Only</span>|Yes|Yes
Attributes Double/Float64|Yes|Yes|Yes|Yes|Yes|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|Yes
Link|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Annotation|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
SpanKind|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
MessageEvent|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Start/End Time|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
SpanData (for exporting)|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Status|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
<b>Trace Configs</b>||||||||
TraceParam Limits (Attributes, Annotations, etc.)|Yes|Yes|Yes|<span style="color: #CF7675">No</span>|Yes|<span style="color: #CF7675">No</span>|Yes|<span style="color: #CF7675">No</span>
<b>Basic Operations</b>||||||||
Create a root span|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Put span into/get span from current context|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Create a span from current context|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Create a span with explicit parent|Yes|Yes|Yes|Yes|Yes|<span style="color: #CF7675">No</span>|Yes|Yes
Add attributes, links, annotations, message events|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Register/Unregister Exporters|Yes|Yes|Yes|Yes|Yes|<span style="color: #CF7675">Register only (use Agent)</span>|Yes|
Child Span Count|Yes|Yes|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|Yes|No|Yes|Yes
Override sampling for a span|Yes|Yes|Yes|<span style="color: #CF7675">No</span>|Yes|<span style="color: #CF7675">No</span>|Yes|Yes
<b>Propagation</b>||||||||
Binary Format - gRPC|Yes|Yes|Yes|Yes|Yes|<span style="color: #6bb1e0">Client only</span>|<span style="color: #CF7675">No</span>|Yes
W3C TraceContext Format - HTTP|Yes|Yes|Yes|Yes|Yes|<span style="color: #CF7675">No</span>|Yes|Yes
B3 Format - HTTP|Yes|Yes|Yes|Yes|Yes|<span style="color: #6bb1e0">In Progress</span>|<span style="color: #CF7675">No</span>|<span style="color: #6bb1e0">In Progress</span>
Google Cloud Text Format|Yes|Yes|<span style="color: #CF7675">No</span>|Yes|Yes|Yes|Yes|<span style="color: #CF7675">No</span>

Feature|Java|Go|C#|Python|Nodejs|PHP|Ruby|Erlang/Elixir
---|---|---|---|---|---|---|---|---
<b>Core Data Models</b>||||||||
Tag|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
TagKey (restrictions apply)|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
TagValue (restrictions apply)|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
TagMap|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
TagMetadata|Yes|Yes|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|Yes|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>
<b>Basic Operations</b>||||||||
Validate TagKey and TagValue|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Insert a list of Tags into current context|Yes|Yes|Yes|<span style="color: #CF7675">No</span>|Yes|Yes|Yes|Yes
Get Tags from current context|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Update Tags in current context|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
<b>Propagation</b>||||||||
Binary Format|Yes|Yes|<span style="color: #CF7675">No</span>|Yes|Yes|Yes|<span style="color: #CF7675">No</span>|Yes
Text Format (W3C)|Yes|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|<span style="color: #6bb1e0">In Progress</span>|Yes|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|Yes
gRPC Propagation|Yes|Yes|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|Yes|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>
HTTP Propagation|<span style="color: #6bb1e0">In Progress</span>|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|<span style="color: #6bb1e0">In Progress</span>|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>|<span style="color: #CF7675">No</span>

Feature|Java|Go|C#|Python|Nodejs|PHP|Ruby|Erlang/Elixir
---|---|---|---|---|---|---|---|---
<b>Core Data Models</b>||||||||
Measure (Int64 and Double)|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Measurement (Int64 and Double)|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
MeasureMap or equivalent (allow for batch recording)|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Aggregation (Count, Sum, LastValue, Distribution)|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
Bucket Boundaries (only with postive bounds)|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
AggregationData (Count, Sum, LastValue, Distribution)|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes
{'fraction_non_alphanumeric': 0.22728174603174603, 'fraction_numerical': 0.043849206349206346, 'mean_word_length': 9.679025423728813, 'pattern_counts': {'":': 0, '<': 229, '<?xml version=': 0, '>': 229, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1534103', 'n_tokens_mistral': 4169, 'n_tokens_neox': 3826, 'n_words': 598}