Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NOISSUE - Add traces to API Bootstraps and Certs endpoints #1851

Merged
merged 6 commits into from
Jul 11, 2023

Conversation

SammyOina
Copy link
Contributor

@SammyOina SammyOina commented Jul 6, 2023

What does this do?

Adds server spans to bootstrap and certs services.

image

Which issue(s) does this PR fix/relate to?

Noissue

List any changes that modify/break current functionality

None

Have you included tests for your changes?

No

Did you document any new/modified functionality?

No

Notes

@SammyOina SammyOina changed the title add traces to bootstrap endpoints NOISSUE - Restore traces to API endpoints Jul 6, 2023
@rodneyosodo
Copy link
Member

Is it a duplicate of https://github.com/mainflux/mainflux/pull/1849 ?

@codecov
Copy link

codecov bot commented Jul 6, 2023

Codecov Report

Merging #1851 (f081f2d) into master (7ffc14b) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1851   +/-   ##
=======================================
  Coverage   65.68%   65.68%           
=======================================
  Files         116      116           
  Lines        9413     9413           
=======================================
  Hits         6183     6183           
  Misses       2572     2572           
  Partials      658      658           
Impacted Files Coverage Δ
bootstrap/api/transport.go 94.47% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@SammyOina SammyOina changed the title NOISSUE - Restore traces to API endpoints NOISSUE - Add traces to API Bootstraps and Certs endpoints Jul 6, 2023
@SammyOina
Copy link
Contributor Author

Is it a duplicate of #1849 ?

No it is not a duplicate

@SammyOina SammyOina marked this pull request as ready for review July 6, 2023 09:02
@SammyOina SammyOina requested a review from a team as a code owner July 6, 2023 09:02
cmd/bootstrap/main.go Outdated Show resolved Hide resolved
cmd/certs/main.go Outdated Show resolved Hide resolved
SammyOina and others added 6 commits July 11, 2023 10:52
Signed-off-by: SammyOina <sammyoina@gmail.com>
Signed-off-by: SammyOina <sammyoina@gmail.com>
Signed-off-by: SammyOina <sammyoina@gmail.com>
Signed-off-by: SammyOina <sammyoina@gmail.com>
Signed-off-by: SammyOina <sammyoina@gmail.com>
Co-authored-by: b1ackd0t <blackd0t@protonmail.com>
Signed-off-by: SammyOina <sammyoina@gmail.com>
Copy link
Member

@rodneyosodo rodneyosodo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@drasko drasko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@drasko drasko merged commit 5410a14 into absmach:master Jul 11, 2023
WashingtonKK pushed a commit to WashingtonKK/magistrala that referenced this pull request Jul 12, 2023
)

* add traces to bootstrap endpoints

Signed-off-by: SammyOina <sammyoina@gmail.com>

* add tracing to certs endpoints

Signed-off-by: SammyOina <sammyoina@gmail.com>

* remove tracing provider

Signed-off-by: SammyOina <sammyoina@gmail.com>

* add tracing provider

Signed-off-by: SammyOina <sammyoina@gmail.com>

* add tracing provider

Signed-off-by: SammyOina <sammyoina@gmail.com>

* Update cmd/certs/main.go

Co-authored-by: b1ackd0t <blackd0t@protonmail.com>
Signed-off-by: SammyOina <sammyoina@gmail.com>

---------

Signed-off-by: SammyOina <sammyoina@gmail.com>
Co-authored-by: b1ackd0t <blackd0t@protonmail.com>
WashingtonKK pushed a commit to WashingtonKK/magistrala that referenced this pull request Jul 12, 2023
)

* add traces to bootstrap endpoints

Signed-off-by: SammyOina <sammyoina@gmail.com>

* add tracing to certs endpoints

Signed-off-by: SammyOina <sammyoina@gmail.com>

* remove tracing provider

Signed-off-by: SammyOina <sammyoina@gmail.com>

* add tracing provider

Signed-off-by: SammyOina <sammyoina@gmail.com>

* add tracing provider

Signed-off-by: SammyOina <sammyoina@gmail.com>

* Update cmd/certs/main.go

Co-authored-by: b1ackd0t <blackd0t@protonmail.com>
Signed-off-by: SammyOina <sammyoina@gmail.com>

---------

Signed-off-by: SammyOina <sammyoina@gmail.com>
Co-authored-by: b1ackd0t <blackd0t@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants