1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
Commit Graph

42 Commits

Author SHA1 Message Date
Ben Wells
b675dda67e
Fix typo in using instrumentation libraries markdown (#2621)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-02-17 08:11:09 -08:00
Tyler Yahn
219af21e21
Fix link to Zipkin exporter (#2581)
Currently it is linked to the old package that was moved.
2022-02-06 20:46:57 -08:00
Patrice Chalin
c5776cc953
[website_docs] fix page meta-links (#2580)
Contributes to https://github.com/open-telemetry/opentelemetry.io/issues/1096

/cc @cartermp @austinlparker
2022-02-03 15:24:44 -08:00
Tyler Yahn
b0286fe46a
Add links to code examples and docs (#2551) 2022-01-26 18:19:28 -05:00
thinkgo
4ec3a3476f
Fix getting-started.md Run function (#2527)
* Fix getting-started.md Run function, it assigns this new context to a variable shared between connections in to accept loop. Thus creating a growing chain of contexts. so every calculate fibonacci request, all spans in a trace.

* add a comment explaining the reason for that new variable

* update example fib
2022-01-22 08:28:40 -08:00
Jeremy Kaplan
9407bf396e
Fix some typos in docs for Go libraries (#2520)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-01-20 15:08:58 -08:00
Travis Jefferson
4769bbe7d8
Update docs: don't reference WithBuiltinDetectors (#2486)
* Update docs: don't reference `WithBuiltinDetectors`

The method was removed in 25d739b

* Update docs: use `WithFromEnv()` in example
2021-12-28 11:34:41 -05:00
Phillip Carter
245f13baac
Add section in docs for initializing a tracer (#2481)
* Add section in docs for initializing a tracer

* Apply suggestions from code review

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>

* Change weird incomplete sentence

* update some of the bullets to be a tad less opinionated

* Rename section so it's open to different ways to acquire a tracer

* Remove guidance as it is orthogonal

* Apply suggestions from code review

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-12-23 09:18:08 -08:00
Phillip Carter
109d8531ea
Update relref link in manual instrumentation (#2482)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-12-23 08:43:30 -08:00
Phillip Carter
49987ad852
Rename manual_instrumentation and add redirects (#2480)
* Rename manual_instrumentation and add redirects

* Update

* More feedback + name adjustment

* Go back
2021-12-21 16:11:19 -08:00
Phillip Carter
c555a7b592
Change markdown links to relref (#2479) 2021-12-21 10:49:18 -08:00
Phillip Carter
1e46549f61
Update relref link for manual instrumentation (#2478)
Looks like this was missed in https://github.com/open-telemetry/opentelemetry-go/pull/2437
2021-12-21 08:33:35 -08:00
Phillip Carter
69326eaef8
Add sections to docs for current span and nested spans (#2452)
* Add sections to docs for current span and nested spans

* Apply suggestions from code review

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>

* Update based on review

* satisfy linter

* Apply suggestions from code review

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-12-20 14:00:14 -08:00
Phillip Carter
43daab9cab
Add 'Using instrumentation libraries' page for docs (#2437)
* Add automatic instrumentation page for docs

* Update website_docs/automatic_instrumentation.md

Co-authored-by: Sam Xie <xsambundy@gmail.com>

* Updates as per feedback

* Apply suggestions from code review

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update website_docs/using_instrumentation_libraries.md

Co-authored-by: Robert Pająk <pellared@hotmail.com>

* fix docs build

Co-authored-by: Sam Xie <xsambundy@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2021-12-14 08:46:15 -08:00
Tyler Yahn
18d265c57c
Update project minimum supported Go version to 1.16 (#2412)
* Update project min supported Go ver to 1.16

* Add changes to changelog

* Make lint fixes
2021-11-23 13:38:27 -08:00
Patrice Chalin
b663c7c2bd
[website_docs] Link to website page via path (#2397)
* [website_docs] Link to website page via path

Contributes to https://github.com/open-telemetry/opentelemetry.io/issues/922. /cc @austinlparker

* Make links relative and wrap paragraph text

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-11-17 07:33:59 -08:00
Patrice Chalin
d962ec0eac
[website_docs] Link to latest release (#2398)
Contributes to https://github.com/open-telemetry/opentelemetry.io/issues/905. /cc @austinlparker

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-11-16 07:55:12 -08:00
Patrice Chalin
5e2d218837
[website_docs] Link to website spec pages (#2380)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-11-12 11:41:36 -08:00
Joseph Woodward
d0e5dd528f
Minor grammatical fix (#2347)
* Minor grammatical fix

* Another minor correction

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-11-10 14:26:18 -08:00
Robert Pająk
43c55c3e5c
Rephrase a sentence with typo in getting-started.md (#2355)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-11-10 14:15:16 -08:00
Tyler Yahn
4ba964bae7
Correct getting started docs typo (#2333)
Resolve #2332
2021-10-28 12:52:27 -07:00
Ronald Petty
c5773145ae
Update getting-started.md (#2330)
Import path incorrect for signal, added import "os/signal".

Also the current online instructions are broken, ctx is not plumped through, but it is here in the forked markdown, so probably needs to be pushed out.
2021-10-28 09:37:57 -07:00
Tyler Yahn
0f0bd269c3
Fix getting started example code (#2324) 2021-10-25 12:24:35 -07:00
Tyler Yahn
c4ba4811a2
Add semconv/v1.7.0 package (#2320)
* Add semconv/v1.7.0 package

Generated from the v1.7.0 release of the specification using the
semconvgen tool manually. This also updates the project to use this
version of the semconv package.

This does not include the prior, and missing, v1.5.0 and v1.6.0 versions
of the semconv package. They are planned to be added in a follow-on PR.

* Update CHANGELOG.md
2021-10-22 08:43:47 -07:00
Adrian Kostrubiak
474d6a4730
fix typo in Resources usage sample (#2302)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-10-19 09:27:31 -07:00
Patrice Chalin
43465e8ded
Docs: add aliases (#2297)
* Docs: add aliases

* Normalize alias paths

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-10-18 12:59:16 -07:00
Patrice Chalin
2509791cf6
Docs: drop @v1.0.0-RCx specifier (#2298) 2021-10-18 12:31:53 -07:00
Tyler Yahn
92551d3933
Prerelease v1.0.0 (#2250)
* Update versions file for 1.0.0 release

* Prepare stable-v1 for version v1.0.0

* Update trace signal status in documentation

* Update changelog

* Update CHANGELOG.md

Co-authored-by: Robert Pająk <pellared@hotmail.com>

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2021-09-20 13:02:46 -07:00
Tyler Yahn
04de34a2d6
Update the website getting started docs (#2203)
* Update the website getting started docs

Add a new example, fib, that contains an application for the computation
of Fibonacci numbers. Use this example to update the website getting
started documentation.

* Revise docs english

* Update example/fib/go.mod

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>

* Add a What's Next section

* Clean up intro

* Apply suggestions from code review

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>

* Apply feedback

* Return from Poll on error

* Update website_docs/getting-started.md

Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>

* Add root and parent relationship info

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
2021-09-02 08:22:41 -07:00
Patrice Chalin
c885435fb5
Website: support GH page links to canonical src (#2189) 2021-08-18 09:25:44 -07:00
Anthony Mirabella
4a3da55a12
Ensure sample code in website_docs getting started page works (#2094)
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
2021-07-16 14:32:02 -04:00
sicong.huang
d3063a3d12
Update otel.Meter to global.Meter in Getting Started Document.(#2087) (#2093)
* Update otel.Meter to global.Meter in Getting Started Document. (#2087)

Signed-off-by: lastchiliarch <lastchiliarch@163.com>

* Update CHANGELOG.md

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2021-07-16 12:18:22 -04:00
Anthony Mirabella
ced177b795
Pre-release 1.0.0-RC1 (#2013)
* Add versions.yaml to specify module version sets
* Prepare for releasing v1.0.0-RC1
* Update experimental-metrics and bridge module sets to v0.21.0
* Prepare for releasing v0.21.0
* Fixup go.mod version references
* Update version.go
* Update CHANGELOG
* Update godoc references to "pre-GA phase" for RC1 packages
* Update website_docs for 1.0.0-RC1

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
2021-06-18 11:22:16 -04:00
Anthony Mirabella
c30cd1d0fd
Split stdout exporter into stdouttrace and stdoutmetric (#2005)
* Split stdout exporter into stdouttrace and stdoutmetric

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

* Remove unused options from stdouttrace and stdoutmetric exporters

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

* Update stdout exporter references in website docs

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

* Update docs to include correct import paths, properly describe exporter scope

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

* Remove pointless options to disable signals from what are now single-signal exporters

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
2021-06-16 11:32:42 -04:00
Tyler Yahn
3be9813d56
Deprecate the exporters in the "trace" and "metric" sub-directories (#1993)
* Rename exporters/metric/prometheus

* Rename exporters/trace/jaeger

* Rename exporters/trace/zipkin

* Fix dependabot config and make test

* Update README docs

* Deprecate exporters instead of remove them

* Update dependabot with old modules

* Run crosslink

* Add lint override for known deprecated pkg

* Update PR number
2021-06-12 11:39:22 -07:00
Anthony Mirabella
cdf67ddfa3
Update semantic conventions to v1.4.0, move to versioned package (#1987)
* Update semantic conventions to v1.4.0, move to versioned package

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

* precommit wants explicit import path renaming for semconv/v1.4.0

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

* Fix semconv import path in stdout exporter example

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-06-10 13:03:43 -04:00
Tyler Yahn
4883cb119d
Refactor exporter creation functions (#1985)
* Remove InstallNewPipeline/NewExportPipeline funcs

* Rename stdout NewExporter to New

* Rename prometheus NewExporter func to New

* Rename Jaeger exporter NewRawExporter func to New

* Rename zipkin exporter NewRawExporter func to New

* Rename otlp exporter creation funcs

* Rename processortest exporter creation funcs

* Update PR number in changelog

* Fix spelling error

* Rename remaining NewUnstartedExporter in otlp

* Remove unused testing file
2021-06-10 09:22:47 -07:00
Akash Suresh
8603b9026c
Fix typo in doc (#1949) 2021-05-25 15:20:45 -04:00
Gábor Lipták
d20e722830
CI builds validate against last two versions of Go, dropping 1.14 and adding 1.16 (#1865)
Signed-off-by: Gábor Lipták <gliptak@gmail.com>

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-05-06 17:14:11 -04:00
Robert Pająk
d4c8ffadad
Replace spaces to tabs in Go code snippets (#1854)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-04-28 08:19:15 -07:00
Tyler Yahn
e6086958ca
Update website_docs to v0.20.0 (#1838) 2021-04-24 16:57:23 -04:00
Austin Parker
ecc635dc1d
add website docs (#1747) 2021-04-01 12:36:51 -04:00