Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET Getting started - based on roll dice service and Automatic Instrumentation #3167

Merged
merged 16 commits into from
Aug 21, 2023
Merged

.NET Getting started - based on roll dice service and Automatic Instrumentation #3167

merged 16 commits into from
Aug 21, 2023

Conversation

Kielek
Copy link
Contributor

@Kielek Kielek commented Aug 14, 2023

Towards #3150
Towards #2623

Document structure based on Java getting started page

https://deploy-preview-3167--opentelemetry.netlify.app/docs/instrumentation/net/getting-started/

Tested also with OTLP exporters:

   export OTEL_TRACES_EXPORTER=otlp \
     OTEL_METRICS_EXPORTER=otlp \
     OTEL_LOGS_EXPORTER=otlp \
     OTEL_DOTNET_AUTO_TRACES_CONSOLE_EXPORTER_ENABLED=true \
     OTEL_DOTNET_AUTO_METRICS_CONSOLE_EXPORTER_ENABLED=true \
     OTEL_DOTNET_AUTO_LOGS_CONSOLE_EXPORTER_ENABLED=true
   . $HOME/.otel-dotnet-auto/instrument.sh
Results from local-otel-collectore-contrib 0.82.0 ```log dev-otel-collector-1 | {"kind": "exporter", "data_type": "metrics", "name": "logging"} dev-otel-collector-1 | 2023-08-14T06:41:47.214Z info TracesExporter {"kind": "exporter", "data_type": "traces", "name": "logging", "resource spans": 1, "spans": 1} dev-otel-collector-1 | 2023-08-14T06:41:47.214Z info ResourceSpans #0 dev-otel-collector-1 | Resource SchemaURL: dev-otel-collector-1 | Resource attributes: dev-otel-collector-1 | -> service.name: Str(simple-dotnet) dev-otel-collector-1 | -> telemetry.auto.version: Str(0.7.0) dev-otel-collector-1 | -> telemetry.sdk.name: Str(opentelemetry) dev-otel-collector-1 | -> telemetry.sdk.language: Str(dotnet) dev-otel-collector-1 | -> telemetry.sdk.version: Str(1.4.0.802) dev-otel-collector-1 | ScopeSpans #0 dev-otel-collector-1 | ScopeSpans SchemaURL: dev-otel-collector-1 | InstrumentationScope OpenTelemetry.Instrumentation.AspNetCore 1.0.0.0 dev-otel-collector-1 | Span #0 dev-otel-collector-1 | Trace ID : 8bac3e006b5c756bdb9e40162ab6ae23 dev-otel-collector-1 | Parent ID : dev-otel-collector-1 | ID : 6818103ab58d5b39 dev-otel-collector-1 | Name : /rolldice dev-otel-collector-1 | Kind : Server dev-otel-collector-1 | Start time : 2023-08-14 06:41:46.048937 +0000 UTC dev-otel-collector-1 | End time : 2023-08-14 06:41:46.0550789 +0000 UTC dev-otel-collector-1 | Status code : Unset dev-otel-collector-1 | Status message : dev-otel-collector-1 | Attributes: dev-otel-collector-1 | -> net.host.name: Str(localhost) dev-otel-collector-1 | -> net.host.port: Int(8080) dev-otel-collector-1 | -> http.method: Str(GET) dev-otel-collector-1 | -> http.scheme: Str(http) dev-otel-collector-1 | -> http.target: Str(/rolldice) dev-otel-collector-1 | -> http.url: Str(http://localhost:8080/rolldice) dev-otel-collector-1 | -> http.flavor: Str(1.1) dev-otel-collector-1 | -> http.user_agent: Str(Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36) dev-otel-collector-1 | -> http.status_code: Int(200) dev-otel-collector-1 | {"kind": "exporter", "data_type": "traces", "name": "logging"} dev-otel-collector-1 | 2023-08-14T06:41:47.815Z info LogsExporter {"kind": "exporter", "data_type": "logs", "name": "logging", "resource logs": 2, "log records": 2} dev-otel-collector-1 | 2023-08-14T06:41:47.815Z info ResourceLog #0 dev-otel-collector-1 | Resource SchemaURL: dev-otel-collector-1 | Resource attributes: dev-otel-collector-1 | -> service.name: Str(simple-dotnet) dev-otel-collector-1 | -> telemetry.auto.version: Str(0.7.0) dev-otel-collector-1 | -> telemetry.sdk.name: Str(opentelemetry) dev-otel-collector-1 | -> telemetry.sdk.language: Str(dotnet) dev-otel-collector-1 | -> telemetry.sdk.version: Str(1.4.0.802) dev-otel-collector-1 | ScopeLogs #0 dev-otel-collector-1 | ScopeLogs SchemaURL: dev-otel-collector-1 | InstrumentationScope dev-otel-collector-1 | LogRecord #0 dev-otel-collector-1 | ObservedTimestamp: 1970-01-01 00:00:00 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:41:46.0490827 +0000 UTC dev-otel-collector-1 | SeverityText: Information dev-otel-collector-1 | SeverityNumber: Info(9) dev-otel-collector-1 | Body: Str(Anonymous player is rolling the dice: {result}) dev-otel-collector-1 | Attributes: dev-otel-collector-1 | -> dotnet.ilogger.category: Str(simple-dotnet) dev-otel-collector-1 | -> result: Int(4) dev-otel-collector-1 | Trace ID: 8bac3e006b5c756bdb9e40162ab6ae23 dev-otel-collector-1 | Span ID: 6818103ab58d5b39 dev-otel-collector-1 | Flags: 1 dev-otel-collector-1 | ResourceLog #1 dev-otel-collector-1 | Resource SchemaURL: dev-otel-collector-1 | Resource attributes: dev-otel-collector-1 | -> service.name: Str(simple-dotnet) dev-otel-collector-1 | -> telemetry.auto.version: Str(0.7.0) dev-otel-collector-1 | -> telemetry.sdk.name: Str(opentelemetry) dev-otel-collector-1 | -> telemetry.sdk.language: Str(dotnet) dev-otel-collector-1 | -> telemetry.sdk.version: Str(1.4.0.802) dev-otel-collector-1 | ScopeLogs #0 dev-otel-collector-1 | ScopeLogs SchemaURL: dev-otel-collector-1 | InstrumentationScope dev-otel-collector-1 | LogRecord #0 dev-otel-collector-1 | ObservedTimestamp: 1970-01-01 00:00:00 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:41:46.0490827 +0000 UTC dev-otel-collector-1 | SeverityText: Information dev-otel-collector-1 | SeverityNumber: Info(9) dev-otel-collector-1 | Body: Str(Anonymous player is rolling the dice: {result}) dev-otel-collector-1 | Attributes: dev-otel-collector-1 | -> dotnet.ilogger.category: Str(simple-dotnet) dev-otel-collector-1 | -> result: Int(4) dev-otel-collector-1 | Trace ID: 8bac3e006b5c756bdb9e40162ab6ae23 dev-otel-collector-1 | Span ID: 6818103ab58d5b39 dev-otel-collector-1 | Flags: 1 dev-otel-collector-1 | {"kind": "exporter", "data_type": "logs", "name": "logging"} dev-otel-collector-1 | 2023-08-14T06:42:02.238Z info MetricsExporter {"kind": "exporter", "data_type": "metrics", "name": "logging", "resource metrics": 1, "metrics": 21, "data points": 32} dev-otel-collector-1 | 2023-08-14T06:42:02.238Z info ResourceMetrics #0 dev-otel-collector-1 | Resource SchemaURL: dev-otel-collector-1 | Resource attributes: dev-otel-collector-1 | -> service.name: Str(dotnet) dev-otel-collector-1 | -> telemetry.auto.version: Str(0.7.0) dev-otel-collector-1 | -> telemetry.sdk.name: Str(opentelemetry) dev-otel-collector-1 | -> telemetry.sdk.language: Str(dotnet) dev-otel-collector-1 | -> telemetry.sdk.version: Str(1.4.0.802) dev-otel-collector-1 | ScopeMetrics #0 dev-otel-collector-1 | ScopeMetrics SchemaURL: dev-otel-collector-1 | InstrumentationScope OpenTelemetry.Instrumentation.Runtime 1.1.0.2 dev-otel-collector-1 | Metric #0 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.gc.collections.count dev-otel-collector-1 | -> Description: Number of garbage collections that have occurred since process start. dev-otel-collector-1 | -> Unit: dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: true dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | Data point attributes: dev-otel-collector-1 | -> generation: Str(gen2) dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5285992 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534574 +0000 UTC dev-otel-collector-1 | Value: 2 dev-otel-collector-1 | NumberDataPoints #1 dev-otel-collector-1 | Data point attributes: dev-otel-collector-1 | -> generation: Str(gen1) dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5285992 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534574 +0000 UTC dev-otel-collector-1 | Value: 4 dev-otel-collector-1 | NumberDataPoints #2 dev-otel-collector-1 | Data point attributes: dev-otel-collector-1 | -> generation: Str(gen0) dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5285992 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534574 +0000 UTC dev-otel-collector-1 | Value: 5 dev-otel-collector-1 | Metric #1 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.gc.objects.size dev-otel-collector-1 | -> Description: Count of bytes currently in use by objects in the GC heap that haven't been collected yet. Fragmentation and other GC committed memory pools are excluded. dev-otel-collector-1 | -> Unit: bytes dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: false dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5300379 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534578 +0000 UTC dev-otel-collector-1 | Value: 37356736 dev-otel-collector-1 | Metric #2 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.gc.allocations.size dev-otel-collector-1 | -> Description: Count of bytes allocated on the managed GC heap since the process start. .NET objects are allocated from this heap. Object allocations from unmanaged languages such as C/C++ do not use this heap. dev-otel-collector-1 | -> Unit: bytes dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: true dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5308146 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.153458 +0000 UTC dev-otel-collector-1 | Value: 89147832 dev-otel-collector-1 | Metric #3 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.gc.committed_memory.size dev-otel-collector-1 | -> Description: The amount of committed virtual memory for the managed GC heap, as observed during the latest garbage collection. Committed virtual memory may be larger than the heap size because it includes both memory for storing existing objects (the heap size) and some extra memory that is ready to handle newly allocated objects in the future. The value will be unavailable until at least one garbage collection has occurred. dev-otel-collector-1 | -> Unit: bytes dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: false dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5308684 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534583 +0000 UTC dev-otel-collector-1 | Value: 39088128 dev-otel-collector-1 | Metric #4 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.gc.heap.size dev-otel-collector-1 | -> Description: The heap size (including fragmentation), as observed during the latest garbage collection. The value will be unavailable until at least one garbage collection has occurred. dev-otel-collector-1 | -> Unit: bytes dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: false dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | Data point attributes: dev-otel-collector-1 | -> generation: Str(gen0) dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5309036 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534587 +0000 UTC dev-otel-collector-1 | Value: 0 dev-otel-collector-1 | NumberDataPoints #1 dev-otel-collector-1 | Data point attributes: dev-otel-collector-1 | -> generation: Str(gen1) dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5309036 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534587 +0000 UTC dev-otel-collector-1 | Value: 7003088 dev-otel-collector-1 | NumberDataPoints #2 dev-otel-collector-1 | Data point attributes: dev-otel-collector-1 | -> generation: Str(gen2) dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5309036 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534587 +0000 UTC dev-otel-collector-1 | Value: 19438960 dev-otel-collector-1 | NumberDataPoints #3 dev-otel-collector-1 | Data point attributes: dev-otel-collector-1 | -> generation: Str(loh) dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5309036 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534587 +0000 UTC dev-otel-collector-1 | Value: 5113968 dev-otel-collector-1 | NumberDataPoints #4 dev-otel-collector-1 | Data point attributes: dev-otel-collector-1 | -> generation: Str(poh) dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5309036 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534587 +0000 UTC dev-otel-collector-1 | Value: 342264 dev-otel-collector-1 | Metric #5 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.gc.heap.fragmentation.size dev-otel-collector-1 | -> Description: The heap fragmentation, as observed during the latest garbage collection. The value will be unavailable until at least one garbage collection has occurred. dev-otel-collector-1 | -> Unit: bytes dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: false dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | Data point attributes: dev-otel-collector-1 | -> generation: Str(gen0) dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5309408 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534595 +0000 UTC dev-otel-collector-1 | Value: 0 dev-otel-collector-1 | NumberDataPoints #1 dev-otel-collector-1 | Data point attributes: dev-otel-collector-1 | -> generation: Str(gen1) dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5309408 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534595 +0000 UTC dev-otel-collector-1 | Value: 106344 dev-otel-collector-1 | NumberDataPoints #2 dev-otel-collector-1 | Data point attributes: dev-otel-collector-1 | -> generation: Str(gen2) dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5309408 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534595 +0000 UTC dev-otel-collector-1 | Value: 472 dev-otel-collector-1 | NumberDataPoints #3 dev-otel-collector-1 | Data point attributes: dev-otel-collector-1 | -> generation: Str(loh) dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5309408 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534595 +0000 UTC dev-otel-collector-1 | Value: 11952 dev-otel-collector-1 | NumberDataPoints #4 dev-otel-collector-1 | Data point attributes: dev-otel-collector-1 | -> generation: Str(poh) dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5309408 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534595 +0000 UTC dev-otel-collector-1 | Value: 0 dev-otel-collector-1 | Metric #6 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.jit.il_compiled.size dev-otel-collector-1 | -> Description: Count of bytes of intermediate language that have been compiled since the process start. dev-otel-collector-1 | -> Unit: bytes dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: true dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5309718 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534599 +0000 UTC dev-otel-collector-1 | Value: 2138625 dev-otel-collector-1 | Metric #7 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.jit.methods_compiled.count dev-otel-collector-1 | -> Description: The number of times the JIT compiler compiled a method since the process start. The JIT compiler may be invoked multiple times for the same method to compile with different generic parameters, or because tiered compilation requested different optimization settings. dev-otel-collector-1 | -> Unit: dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: true dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5310105 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534602 +0000 UTC dev-otel-collector-1 | Value: 32150 dev-otel-collector-1 | Metric #8 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.jit.compilation_time dev-otel-collector-1 | -> Description: The amount of time the JIT compiler has spent compiling methods since the process start. dev-otel-collector-1 | -> Unit: ns dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: true dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5310366 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534605 +0000 UTC dev-otel-collector-1 | Value: 4479591000 dev-otel-collector-1 | Metric #9 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.monitor.lock_contention.count dev-otel-collector-1 | -> Description: The number of times there was contention when trying to acquire a monitor lock since the process start. Monitor locks are commonly acquired by using the lock keyword in C#, or by calling Monitor.Enter() and Monitor.TryEnter(). dev-otel-collector-1 | -> Unit: dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: true dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5310648 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534608 +0000 UTC dev-otel-collector-1 | Value: 32 dev-otel-collector-1 | Metric #10 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.thread_pool.threads.count dev-otel-collector-1 | -> Description: The number of thread pool threads that currently exist. dev-otel-collector-1 | -> Unit: dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: false dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5310889 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534611 +0000 UTC dev-otel-collector-1 | Value: 2 dev-otel-collector-1 | Metric #11 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.thread_pool.completed_items.count dev-otel-collector-1 | -> Description: The number of work items that have been processed by the thread pool since the process start. dev-otel-collector-1 | -> Unit: dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: true dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5311156 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534614 +0000 UTC dev-otel-collector-1 | Value: 533 dev-otel-collector-1 | Metric #12 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.thread_pool.queue.length dev-otel-collector-1 | -> Description: The number of work items that are currently queued to be processed by the thread pool. dev-otel-collector-1 | -> Unit: dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: false dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5311476 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534617 +0000 UTC dev-otel-collector-1 | Value: 0 dev-otel-collector-1 | Metric #13 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.timer.count dev-otel-collector-1 | -> Description: The number of timer instances that are currently active. Timers can be created by many sources such as System.Threading.Timer, Task.Delay, or the timeout in a CancellationSource. An active timer is registered to tick at some point in the future and has not yet been canceled. dev-otel-collector-1 | -> Unit: dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: false dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5361138 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534619 +0000 UTC dev-otel-collector-1 | Value: 4 dev-otel-collector-1 | Metric #14 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.assemblies.count dev-otel-collector-1 | -> Description: The number of .NET assemblies that are currently loaded. dev-otel-collector-1 | -> Unit: dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: false dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.536152 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534622 +0000 UTC dev-otel-collector-1 | Value: 151 dev-otel-collector-1 | Metric #15 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.exceptions.count dev-otel-collector-1 | -> Description: Count of exceptions that have been thrown in managed code, since the observation started. The value will be unavailable until an exception has been thrown after OpenTelemetry.Instrumentation.Runtime initialization. dev-otel-collector-1 | -> Unit: dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: true dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5361742 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534625 +0000 UTC dev-otel-collector-1 | Value: 14 dev-otel-collector-1 | ScopeMetrics #1 dev-otel-collector-1 | ScopeMetrics SchemaURL: dev-otel-collector-1 | InstrumentationScope OpenTelemetry.Instrumentation.Process 0.5.0.2 dev-otel-collector-1 | Metric #0 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.memory.usage dev-otel-collector-1 | -> Description: The amount of physical memory allocated for this process. dev-otel-collector-1 | -> Unit: By dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: false dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.536193 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534627 +0000 UTC dev-otel-collector-1 | Value: 146571264 dev-otel-collector-1 | Metric #1 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.memory.virtual dev-otel-collector-1 | -> Description: The amount of committed virtual memory for this process. dev-otel-collector-1 | -> Unit: By dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: false dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5362158 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.153463 +0000 UTC dev-otel-collector-1 | Value: 2481045241856 dev-otel-collector-1 | Metric #2 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.cpu.time dev-otel-collector-1 | -> Description: Total CPU seconds broken down by different states. dev-otel-collector-1 | -> Unit: s dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: true dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | Data point attributes: dev-otel-collector-1 | -> state: Str(user) dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5362366 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534634 +0000 UTC dev-otel-collector-1 | Value: 5.406250 dev-otel-collector-1 | NumberDataPoints #1 dev-otel-collector-1 | Data point attributes: dev-otel-collector-1 | -> state: Str(system) dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5362366 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534634 +0000 UTC dev-otel-collector-1 | Value: 2.750000 dev-otel-collector-1 | Metric #3 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.cpu.count dev-otel-collector-1 | -> Description: The number of processors (CPU cores) available to the current process. dev-otel-collector-1 | -> Unit: {processors} dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: false dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.5362567 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534637 +0000 UTC dev-otel-collector-1 | Value: 16 dev-otel-collector-1 | Metric #4 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.threads dev-otel-collector-1 | -> Description: Process threads count. dev-otel-collector-1 | -> Unit: {threads} dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: false dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:02.536277 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:02.1534638 +0000 UTC dev-otel-collector-1 | Value: 30 dev-otel-collector-1 | {"kind": "exporter", "data_type": "metrics", "name": "logging"} dev-otel-collector-1 | 2023-08-14T06:42:06.652Z info MetricsExporter {"kind": "exporter", "data_type": "metrics", "name": "logging", "resource metrics": 1, "metrics": 19, "data points": 22} dev-otel-collector-1 | 2023-08-14T06:42:06.652Z info ResourceMetrics #0 dev-otel-collector-1 | Resource SchemaURL: dev-otel-collector-1 | Resource attributes: dev-otel-collector-1 | -> service.name: Str(simple-dotnet) dev-otel-collector-1 | -> telemetry.auto.version: Str(0.7.0) dev-otel-collector-1 | -> telemetry.sdk.name: Str(opentelemetry) dev-otel-collector-1 | -> telemetry.sdk.language: Str(dotnet) dev-otel-collector-1 | -> telemetry.sdk.version: Str(1.4.0.802) dev-otel-collector-1 | ScopeMetrics #0 dev-otel-collector-1 | ScopeMetrics SchemaURL: dev-otel-collector-1 | InstrumentationScope OpenTelemetry.Instrumentation.Runtime 1.1.0.2 dev-otel-collector-1 | Metric #0 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.gc.collections.count dev-otel-collector-1 | -> Description: Number of garbage collections that have occurred since process start. dev-otel-collector-1 | -> Unit: dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: true dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | Data point attributes: dev-otel-collector-1 | -> generation: Str(gen2) dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:06.8344304 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.4559356 +0000 UTC dev-otel-collector-1 | Value: 0 dev-otel-collector-1 | NumberDataPoints #1 dev-otel-collector-1 | Data point attributes: dev-otel-collector-1 | -> generation: Str(gen1) dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:06.8344304 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.4559356 +0000 UTC dev-otel-collector-1 | Value: 0 dev-otel-collector-1 | NumberDataPoints #2 dev-otel-collector-1 | Data point attributes: dev-otel-collector-1 | -> generation: Str(gen0) dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:06.8344304 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.4559356 +0000 UTC dev-otel-collector-1 | Value: 0 dev-otel-collector-1 | Metric #1 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.gc.objects.size dev-otel-collector-1 | -> Description: Count of bytes currently in use by objects in the GC heap that haven't been collected yet. Fragmentation and other GC committed memory pools are excluded. dev-otel-collector-1 | -> Unit: bytes dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: false dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:06.8358983 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.4559359 +0000 UTC dev-otel-collector-1 | Value: 16288072 dev-otel-collector-1 | Metric #2 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.gc.allocations.size dev-otel-collector-1 | -> Description: Count of bytes allocated on the managed GC heap since the process start. .NET objects are allocated from this heap. Object allocations from unmanaged languages such as C/C++ do not use this heap. dev-otel-collector-1 | -> Unit: bytes dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: true dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:06.8359735 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.4559362 +0000 UTC dev-otel-collector-1 | Value: 16121216 dev-otel-collector-1 | Metric #3 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.jit.il_compiled.size dev-otel-collector-1 | -> Description: Count of bytes of intermediate language that have been compiled since the process start. dev-otel-collector-1 | -> Unit: bytes dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: true dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:06.8368428 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.4559374 +0000 UTC dev-otel-collector-1 | Value: 1054488 dev-otel-collector-1 | Metric #4 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.jit.methods_compiled.count dev-otel-collector-1 | -> Description: The number of times the JIT compiler compiled a method since the process start. The JIT compiler may be invoked multiple times for the same method to compile with different generic parameters, or because tiered compilation requested different optimization settings. dev-otel-collector-1 | -> Unit: dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: true dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:06.8368848 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.4559377 +0000 UTC dev-otel-collector-1 | Value: 15797 dev-otel-collector-1 | Metric #5 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.jit.compilation_time dev-otel-collector-1 | -> Description: The amount of time the JIT compiler has spent compiling methods since the process start. dev-otel-collector-1 | -> Unit: ns dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: true dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:06.8369141 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.4559381 +0000 UTC dev-otel-collector-1 | Value: 2111795000 dev-otel-collector-1 | Metric #6 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.monitor.lock_contention.count dev-otel-collector-1 | -> Description: The number of times there was contention when trying to acquire a monitor lock since the process start. Monitor locks are commonly acquired by using the lock keyword in C#, or by calling Monitor.Enter() and Monitor.TryEnter(). dev-otel-collector-1 | -> Unit: dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: true dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:06.8369477 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.4559384 +0000 UTC dev-otel-collector-1 | Value: 15 dev-otel-collector-1 | Metric #7 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.thread_pool.threads.count dev-otel-collector-1 | -> Description: The number of thread pool threads that currently exist. dev-otel-collector-1 | -> Unit: dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: false dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:06.8369742 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.4559389 +0000 UTC dev-otel-collector-1 | Value: 4 dev-otel-collector-1 | Metric #8 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.thread_pool.completed_items.count dev-otel-collector-1 | -> Description: The number of work items that have been processed by the thread pool since the process start. dev-otel-collector-1 | -> Unit: dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: true dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:06.8370069 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.4559392 +0000 UTC dev-otel-collector-1 | Value: 278 dev-otel-collector-1 | Metric #9 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.thread_pool.queue.length dev-otel-collector-1 | -> Description: The number of work items that are currently queued to be processed by the thread pool. dev-otel-collector-1 | -> Unit: dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: false dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:06.8370339 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.4559394 +0000 UTC dev-otel-collector-1 | Value: 0 dev-otel-collector-1 | Metric #10 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.timer.count dev-otel-collector-1 | -> Description: The number of timer instances that are currently active. Timers can be created by many sources such as System.Threading.Timer, Task.Delay, or the timeout in a CancellationSource. An active timer is registered to tick at some point in the future and has not yet been canceled. dev-otel-collector-1 | -> Unit: dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: false dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:06.8370675 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.4559397 +0000 UTC dev-otel-collector-1 | Value: 5 dev-otel-collector-1 | Metric #11 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.assemblies.count dev-otel-collector-1 | -> Description: The number of .NET assemblies that are currently loaded. dev-otel-collector-1 | -> Unit: dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: false dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:06.8370925 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.45594 +0000 UTC dev-otel-collector-1 | Value: 129 dev-otel-collector-1 | Metric #12 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.runtime.dotnet.exceptions.count dev-otel-collector-1 | -> Description: Count of exceptions that have been thrown in managed code, since the observation started. The value will be unavailable until an exception has been thrown after OpenTelemetry.Instrumentation.Runtime initialization. dev-otel-collector-1 | -> Unit: dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: true dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:06.8371225 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.4559405 +0000 UTC dev-otel-collector-1 | Value: 8 dev-otel-collector-1 | ScopeMetrics #1 dev-otel-collector-1 | ScopeMetrics SchemaURL: dev-otel-collector-1 | InstrumentationScope OpenTelemetry.Instrumentation.Process 0.5.0.2 dev-otel-collector-1 | Metric #0 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.memory.usage dev-otel-collector-1 | -> Description: The amount of physical memory allocated for this process. dev-otel-collector-1 | -> Unit: By dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: false dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:06.8371485 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.4559408 +0000 UTC dev-otel-collector-1 | Value: 79806464 dev-otel-collector-1 | Metric #1 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.memory.virtual dev-otel-collector-1 | -> Description: The amount of committed virtual memory for this process. dev-otel-collector-1 | -> Unit: By dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: false dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:06.8371766 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.4559412 +0000 UTC dev-otel-collector-1 | Value: 2481020809216 dev-otel-collector-1 | Metric #2 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.cpu.time dev-otel-collector-1 | -> Description: Total CPU seconds broken down by different states. dev-otel-collector-1 | -> Unit: s dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: true dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | Data point attributes: dev-otel-collector-1 | -> state: Str(user) dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:06.8372073 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.4559417 +0000 UTC dev-otel-collector-1 | Value: 2.078125 dev-otel-collector-1 | NumberDataPoints #1 dev-otel-collector-1 | Data point attributes: dev-otel-collector-1 | -> state: Str(system) dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:06.8372073 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.4559417 +0000 UTC dev-otel-collector-1 | Value: 0.906250 dev-otel-collector-1 | Metric #3 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.cpu.count dev-otel-collector-1 | -> Description: The number of processors (CPU cores) available to the current process. dev-otel-collector-1 | -> Unit: {processors} dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: false dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:06.8372345 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.455942 +0000 UTC dev-otel-collector-1 | Value: 16 dev-otel-collector-1 | Metric #4 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: process.threads dev-otel-collector-1 | -> Description: Process threads count. dev-otel-collector-1 | -> Unit: {threads} dev-otel-collector-1 | -> DataType: Sum dev-otel-collector-1 | -> IsMonotonic: false dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | NumberDataPoints #0 dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:06.8372632 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.4559421 +0000 UTC dev-otel-collector-1 | Value: 44 dev-otel-collector-1 | ScopeMetrics #2 dev-otel-collector-1 | ScopeMetrics SchemaURL: dev-otel-collector-1 | InstrumentationScope OpenTelemetry.Instrumentation.AspNetCore 1.0.0.0 dev-otel-collector-1 | Metric #0 dev-otel-collector-1 | Descriptor: dev-otel-collector-1 | -> Name: http.server.duration dev-otel-collector-1 | -> Description: Measures the duration of inbound HTTP requests. dev-otel-collector-1 | -> Unit: ms dev-otel-collector-1 | -> DataType: Histogram dev-otel-collector-1 | -> AggregationTemporality: Cumulative dev-otel-collector-1 | HistogramDataPoints #0 dev-otel-collector-1 | Data point attributes: dev-otel-collector-1 | -> http.flavor: Str(1.1) dev-otel-collector-1 | -> http.method: Str(GET) dev-otel-collector-1 | -> http.route: Str(/rolldice/{player?}) dev-otel-collector-1 | -> http.scheme: Str(http) dev-otel-collector-1 | -> http.status_code: Int(200) dev-otel-collector-1 | -> net.host.name: Str(localhost) dev-otel-collector-1 | -> net.host.port: Int(8080) dev-otel-collector-1 | StartTimestamp: 2023-08-14 06:34:07.1370336 +0000 UTC dev-otel-collector-1 | Timestamp: 2023-08-14 06:42:06.4559429 +0000 UTC dev-otel-collector-1 | Count: 4 dev-otel-collector-1 | Sum: 169.909300 dev-otel-collector-1 | Min: 4.596600 dev-otel-collector-1 | Max: 152.901200 dev-otel-collector-1 | ExplicitBounds #0: 0.000000 dev-otel-collector-1 | ExplicitBounds #1: 5.000000 dev-otel-collector-1 | ExplicitBounds #2: 10.000000 dev-otel-collector-1 | ExplicitBounds #3: 25.000000 dev-otel-collector-1 | ExplicitBounds #4: 50.000000 dev-otel-collector-1 | ExplicitBounds #5: 75.000000 dev-otel-collector-1 | ExplicitBounds #6: 100.000000 dev-otel-collector-1 | ExplicitBounds #7: 250.000000 dev-otel-collector-1 | ExplicitBounds #8: 500.000000 dev-otel-collector-1 | ExplicitBounds #9: 750.000000 dev-otel-collector-1 | ExplicitBounds #10: 1000.000000 dev-otel-collector-1 | ExplicitBounds #11: 2500.000000 dev-otel-collector-1 | ExplicitBounds #12: 5000.000000 dev-otel-collector-1 | ExplicitBounds #13: 7500.000000 dev-otel-collector-1 | ExplicitBounds #14: 10000.000000 dev-otel-collector-1 | Buckets #0, Count: 0 dev-otel-collector-1 | Buckets #1, Count: 1 dev-otel-collector-1 | Buckets #2, Count: 2 dev-otel-collector-1 | Buckets #3, Count: 0 dev-otel-collector-1 | Buckets #4, Count: 0 dev-otel-collector-1 | Buckets #5, Count: 0 dev-otel-collector-1 | Buckets #6, Count: 0 dev-otel-collector-1 | Buckets #7, Count: 1 dev-otel-collector-1 | Buckets #8, Count: 0 dev-otel-collector-1 | Buckets #9, Count: 0 dev-otel-collector-1 | Buckets #10, Count: 0 dev-otel-collector-1 | Buckets #11, Count: 0 dev-otel-collector-1 | Buckets #12, Count: 0 dev-otel-collector-1 | Buckets #13, Count: 0 dev-otel-collector-1 | Buckets #14, Count: 0 dev-otel-collector-1 | Buckets #15, Count: 0 dev-otel-collector-1 | {"kind": "exporter", "data_type": "metrics", "name": "logging"} ```

@Kielek Kielek marked this pull request as ready for review August 14, 2023 08:01
@Kielek Kielek requested review from a team August 14, 2023 08:01
Copy link
Contributor

@chalin chalin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't run it, but I like the writeup.
See inline comments for copyedits. Thanks!

content/en/docs/instrumentation/net/getting-started.md Outdated Show resolved Hide resolved
content/en/docs/instrumentation/net/getting-started.md Outdated Show resolved Hide resolved
content/en/docs/instrumentation/net/getting-started.md Outdated Show resolved Hide resolved
content/en/docs/instrumentation/net/getting-started.md Outdated Show resolved Hide resolved
content/en/docs/instrumentation/net/getting-started.md Outdated Show resolved Hide resolved
content/en/docs/instrumentation/net/getting-started.md Outdated Show resolved Hide resolved
content/en/docs/instrumentation/net/getting-started.md Outdated Show resolved Hide resolved
content/en/docs/instrumentation/net/getting-started.md Outdated Show resolved Hide resolved
Copy link
Contributor

@chalin chalin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates. A few more copyedits -- see inline comments.

content/en/docs/instrumentation/net/getting-started.md Outdated Show resolved Hide resolved
content/en/docs/instrumentation/net/getting-started.md Outdated Show resolved Hide resolved
content/en/docs/instrumentation/net/getting-started.md Outdated Show resolved Hide resolved
@chalin
Copy link
Contributor

chalin commented Aug 16, 2023

The last merge seems to have brought in some extra text that wasn't part of your original edit, that's why some of the checks are failing.

@Kielek
Copy link
Contributor Author

Kielek commented Aug 16, 2023

The last merge seems to have brought in some extra text that wasn't part of your original edit, that's why some of the checks are failing.

Forced pushed correct merge commit.

Copy link
Contributor

@cartermp cartermp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall this looks very good. I'll make it your call on some of the feedback here.

content/en/docs/instrumentation/net/getting-started.md Outdated Show resolved Hide resolved

Next, add [tracing](/docs/concepts/signals/traces/) via the `System.Diagnostics`
API.
## Instrumentation
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For this section, I'd also like to see a Windows tab for the install link and command. Similarly, the env vars should have an appropriate Windows section. I think a ton of .NET developers will try stuff out on a Windows machine but then deploy to Linux, and the current link won't work unless they're on WSL.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. To be honest, I was using github shell on Windows to write and tests this document so I have missed that PowerShell also covered. It should work on all systems if you have linux-like shell.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed. PowerShell scripts tested on newly created Windows 11 Azure. The only manual changes - installation .NET SDK 6.

Copy link
Contributor

@cartermp cartermp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks so much!

@cartermp
Copy link
Contributor

Thanks so much @Kielek!

@cartermp cartermp merged commit d7ea677 into open-telemetry:main Aug 21, 2023
@Kielek Kielek deleted the dotnet-rolldice-by-autoinstrumentation branch August 21, 2023 13:15
@svrnm
Copy link
Member

svrnm commented Aug 31, 2023

this is so cool, thank you @Kielek !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants