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

67 Commits

Author SHA1 Message Date
Tyler Yahn
ddf393886c
Use semconv creation functions (#3683) 2023-02-07 13:42:47 -08:00
Patrice Chalin
c9cb53c5b4
Update libraries.md (#3638) 2023-02-03 07:48:23 -08:00
Tyler Yahn
c7e2679529
Generate the semconv/v1.17.0 package (#3599)
* Generate semconv/v1.17.0

* Update all semconv use to v1.17

* Add changes to changelog
2023-01-24 08:10:41 -08:00
Martin Evgeniev
96d5de1181
Update manual.md (#3582)
Fix typo

Missing ',' before newline in argument list

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2023-01-10 15:22:56 -08:00
jbtleloup
496c086ece
Typo in doc (#3458) 2022-11-10 15:40:42 -05:00
Patrice Chalin
797e337676
[docs] Support redirect of placeholder-page paths to their targets (#3401)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-10-28 14:13:26 -07:00
Tony_F
6c0a7c4dc8
Fix getting-started.md with the correct import packages in main.go (#3354)
* Fix getting-started.md with the correct import packages in main.go

* Update CHANGELOG.md

Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-10-19 08:55:59 -07:00
Patrice Chalin
9d7779a7d7
[docs] Add API and Examples to Go sidenav (#3280)
Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
2022-10-14 16:18:53 -07:00
Tyler Yahn
3b657f7801
Fix otlpmetric pkg name in exporting_data.md (#3259) 2022-10-04 13:58:43 -07:00
Ihor Sychevskyi
cce6304fe5
accessibility: add alt tag to image (#3188) 2022-09-19 15:26:07 -07:00
ttd2089
e1a1f07e44
docs: grammar (#3167)
Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-09-16 08:08:21 -07:00
Gaurang Patel
399ffe1888
consistency-of: Changed signal names for website docs (#3137) 2022-09-02 07:51:35 -07:00
Tyler Yahn
5568a30723
Add semconv/v1.12.0 (#3010)
* Add semconv/v1.12.0

* Update all semconv use to v1.12.0

Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
2022-07-13 09:55:43 -04:00
Kshitija Murudi
36b37c4af5
Update getting-started.md (#2984)
grammar edit for line 175 of readme
2022-06-28 14:58:51 -07:00
Petrie Liu
ef6c0da0de
docs(website_docs): fix exporting_data.md and getting-started.md toc (#2930)
* docs(website_docs): fix toc

* docs(website_docs): fix toc

* update exporting_data.md for rerun check-links

* update exporting_data.md for rerun check-links

Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-06-24 14:27:36 -07:00
Brad Topol
acce4e680b
Closes: #2951 (#2952)
This PR updates the example listed in the getting started doc
so that it will compile without error.  It also makes this
example consistent with the code found in
https://github.com/open-telemetry/opentelemetry-go/blob/main/example/fib/main.go

Signed-off-by: Brad Topol <btopol@us.ibm.com>
2022-06-10 07:38:39 -07:00
petrie
1818a82372
docs: fix typo (#2935) 2022-06-01 07:59:27 -07:00
Phillip Carter
2a02a55c37
Add span status and error recording subsections to trace docs (#2893)
* Add span status and error recording subsections to trace docs

* Add codes import in relevant docs sections

* Update website_docs/manual.md

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

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-05-10 11:17:38 -07:00
minquan chen
d342bdefa9
Fix a bug in example/fib/app.go line:69 (#2860)
* modify the Fscanf function param in example/fib/app.go line:69 to avoid process break by "unexpected newline"

* Add pull reqesut ID into CHANGELOG.md

* append "\n" to the string param of Fscanf() in getting-started.md

* delete a line in CHANGELOG.md.

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-04-26 10:48:30 -07:00
Phillip Carter
b8e4241a32
[docs] update resource initialization (#2844)
* [docs] update resource initialization

* Formatting

* [docs] handle error case in resource merge

* Update manual.md

Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-04-25 08:12:24 -07:00
Tyler Yahn
c05c3e237d
Add semconv/v1.10.0 (#2842)
* Add the semconv/v1.10.0 package

* Upgrade semconv used to v1.10.0

* Add changes to changelog
2022-04-22 07:41:28 -07:00
Brad Topol
8574d43509
Add semconv/v1.9.0 package (#2792)
* Add semconv/v1.9.0 package
Closes: #2756

Signed-off-by: Brad Topol <btopol@us.ibm.com>

* Updated PR number in CHANGELOG

Signed-off-by: Brad Topol <btopol@us.ibm.com>
2022-04-18 10:38:55 -07:00
Tyler Yahn
1884de2b4b
Add semconv/v1.8.0 (#2763)
* No wrap RELEASING Semantic Convention Generation section

* Initial generator

* Update template render

* Add exception and schema templates

* Add semconv/internal http unification

* Add http template

* Add licenses header

* Embed the templates

* Update static version in schema tmpl

* Add semconv-generate target to Makefile

Use this target to generate versions of the semconv packages.

* Generate semconv packages

* Update RELEASING to use make semconv-generate

* Add comments to semconvkit

* Generate semconv/v1.8.0

* Use new version of semconv

* Add changes to changelog

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2022-04-16 01:58:24 -04:00
Patrice Chalin
005eefef95
[website_docs] Fix link intra-site link refs (#2666)
* [website_docs] Fix link intra-site link refs

* Markdown-link config: add replace pattern for /docs/

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-03-10 13:01:29 -08:00
Nathan Landis
16e52ed9cc
Fix typo in go libraries (#2652) 2022-03-04 13:49:36 -05:00
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