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

Add an in-process otel collector #19

Merged
merged 7 commits into from
Dec 22, 2023

Conversation

tcnghia
Copy link
Collaborator

@tcnghia tcnghia commented Dec 20, 2023

This will automatically scrape prometheus metrics and send to GMP.

This will automatically scrape prometheus metrics and send to GMP.

Signed-off-by: Nghia Tran <[email protected]>
pkg/otel/doc.go Outdated Show resolved Hide resolved
pkg/otel/components.go Outdated Show resolved Hide resolved
pkg/otel/doc.go Outdated Show resolved Hide resolved
Signed-off-by: Matt Moore <[email protected]>
)

var (
//go:embed default.yaml
Copy link
Member

Choose a reason for hiding this comment

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

Are you sure this works indented like this? 🤔

All of the //go: directives I'm used to seeing start at the beginning of the line...

Copy link
Collaborator Author

@tcnghia tcnghia Dec 21, 2023

Choose a reason for hiding this comment

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

Yes, I confirmed that this works in my dev environment.

Signed-off-by: Nghia Tran <[email protected]>
Signed-off-by: Nghia Tran <[email protected]>
@tcnghia tcnghia marked this pull request as ready for review December 21, 2023 19:44
Signed-off-by: Nghia Tran <[email protected]>
@tcnghia tcnghia enabled auto-merge (squash) December 21, 2023 20:19
Signed-off-by: Nghia Tran <[email protected]>
@tcnghia tcnghia merged commit 02b9dec into chainguard-dev:main Dec 22, 2023
20 checks passed
tcnghia added a commit that referenced this pull request Dec 22, 2023
tcnghia added a commit that referenced this pull request Dec 22, 2023
Reverts #19

Going to add a simple sidecar wrapper.
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.

2 participants