Skip to content

Instantly share code, notes, and snippets.

@JacksonWeber
Forked from lmolkova/distro_arch_board.md
Last active July 27, 2023 06:02
Show Gist options
  • Select an option

  • Save JacksonWeber/891afdb5dad06b8af3de4fc62d72620c to your computer and use it in GitHub Desktop.

Select an option

Save JacksonWeber/891afdb5dad06b8af3de4fc62d72620c to your computer and use it in GitHub Desktop.
Azure Monitor Distro and Exporter GA review

Scope

TODO

Hero scenarios

TODO

.NET

Enable collection (defaults)

Configuration

Python

Enable collection (defaults)

Configuration

JS

Enable collection (defaults)

const { AzureMonitorOpenTelemetryClient, AzureMonitorOpenTelemetryOptions } = require("@azure/monitor-opentelemetry");

const options: AzureMonitorOpenTelemetryOptions = {
  azureMonitorExporterConfig: {
    connectionString:
      process.env["APPLICATIONINSIGHTS_CONNECTION_STRING"] || "<your connection string>",
  },
}
const azureMonitorClient = new AzureMonitorOpenTelemetryClient(options);

Configuration

Configuration options for the client include:

  • Storage Direcotry
  • Offline Storage
  • Connnection String
  • OTLP Trace Exporter Config
  • OTLP Metric Exporter Config
  • OTLP Log Exporter Config
  • Sampling Ratio
  • Auto Collect Standard Metrics
  • Auto Collect Performance
  • Instrumentation Options
  • OpenTelemetry Resource

See the full set of configuration options.

Samples

See the disto repository's samples.

Java (for reference, out of scope)

Enable collection (defaults)

Configuration

API views

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment