1f5b159161
Use already enabled revive linter and add depguard ( #2883 )
...
* Refactor golangci-lint conf
Order settings alphabetically.
* Add revive settings to golangci conf
* Check blank imports
* Check bool-literal-in-expr
* Check constant-logical-expr
* Check context-as-argument
* Check context-key-type
* Check deep-exit
* Check defer
* Check dot-imports
* Check duplicated-imports
* Check early-return
* Check empty-block
* Check empty-lines
* Check error-naming
* Check error-return
* Check error-strings
* Check errorf
* Stop ignoring context first arg in tests
* Check exported comments
* Check flag-parameter
* Check identical branches
* Check if-return
* Check increment-decrement
* Check indent-error-flow
* Check deny list of go imports
* Check import shadowing
* Check package comments
* Check range
* Check range val in closure
* Check range val address
* Check redefines builtin id
* Check string-format
* Check struct tag
* Check superfluous else
* Check time equal
* Check var naming
* Check var declaration
* Check unconditional recursion
* Check unexported return
* Check unhandled errors
* Check unnecessary stmt
* Check unnecessary break
* Check waitgroup by value
* Exclude deep-exit check in example*_test.go files
2022-05-19 15:15:07 -05:00
fdfc821bac
Add godot linter to golangci ( #2845 )
...
Comment should be complete sentences outside of lists with sentence
fragments. This adds the godot linter to check these complete sentences
end with punctuation. If they do not, running fix will append a period.
2022-04-25 13:22:49 -07:00
6cafa6a060
Remove sdk/export/metric module, embed into the sdk/metric ( #2382 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com >
2021-12-13 12:13:03 -08:00
4d9d882c38
Fix imports in all files except generated files in jaeger exporter ( #2383 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com >
2021-11-13 08:35:04 -08:00
6d4a38f1d6
replace WithSyncer with WithBatcher in opencensus example ( #2007 )
2021-06-16 11:38:04 -04:00
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
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
2817c09174
Merge sdk/export/trace into sdk/trace ( #1778 )
...
* Merge sdk/export/trace into sdk/trace
* Update package move
* Add changes to changelog
* Add PR number to changelog
2021-04-07 08:03:43 -07:00
a1539d4485
OpenCensus metric exporter bridge ( #1444 )
...
* add OpenCensus metric exporter bridge
* Update bridge/opencensus/README.md
Co-authored-by: Eric Sirianni <sirianni@users.noreply.github.com >
Co-authored-by: Eric Sirianni <sirianni@users.noreply.github.com >
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com >
2021-03-11 09:49:20 -08:00
4bf4b69050
Remove inaccurate and unnecessary import comment ( #1481 )
...
Based on its module, it should be go.opencensus.io/otel/example/opencensus.
However, it's simpler to get rid of it since main packages shouldn't be imported at all.
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com >
2021-01-29 12:26:49 -08:00
e0819780f9
Move opencensus example to the example directory ( #1359 )
...
And update .gitignore, so the built binary does not show up in git
status.
2020-11-20 13:34:40 -08:00