Skip to content

Commit

Permalink
Fix getting-started.md with the correct import packages in main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
fangn2 committed Oct 18, 2022
1 parent 1cbd4c2 commit 16d6c19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -22,6 +22,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Slice attributes of `attribute` package are now comparable based on their value, not instance. (#3108 #3252)
- Prometheus exporter will now cumulatively sum histogram buckets. (#3281)
- Export the sum of each histogram datapoint uniquely with the `go.opentelemetry.io/otel/exporters/otlpmetric` exporters. (#3284, #3293)
- Getting-started guide will now have the right list of import packages in main.go to run through the example successfully. (#3354)

## [1.11.0/0.32.3] 2022-10-12

Expand Down
3 changes: 3 additions & 0 deletions website_docs/getting-started.md
Expand Up @@ -280,9 +280,12 @@ import (
"io"
"log"
"os"
"os/signal"

"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/exporters/stdout/stdouttrace"
"go.opentelemetry.io/otel/sdk/resource"
"go.opentelemetry.io/otel/sdk/trace"
semconv "go.opentelemetry.io/otel/semconv/v1.12.0"
)
Expand Down

0 comments on commit 16d6c19

Please sign in to comment.