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 otel tracing and events #27

Merged
merged 2 commits into from
Jun 21, 2023
Merged

add otel tracing and events #27

merged 2 commits into from
Jun 21, 2023

Conversation

matthyx
Copy link
Contributor

@matthyx matthyx commented Jun 16, 2023

No description provided.

@github-actions
Copy link

Summary:

  • License scan: success
  • Credentials scan: success
  • Vulnerabilities scan: success
  • Unit test: success
  • Go linting: failure

@github-actions
Copy link

Summary:

  • License scan: success
  • Credentials scan: success
  • Vulnerabilities scan: success
  • Unit test: success
  • Go linting: failure

@github-actions
Copy link

Summary:

  • License scan: success
  • Credentials scan: success
  • Vulnerabilities scan: success
  • Unit test: success
  • Go linting: failure

@matthyx matthyx force-pushed the telemetry branch 2 times, most recently from 9f67e91 to 8bb8f5c Compare June 19, 2023 05:26
Signed-off-by: Matthias Bertschy <[email protected]>
@matthyx matthyx marked this pull request as ready for review June 19, 2023 05:28
@matthyx matthyx requested a review from dwertent June 19, 2023 05:28
@github-actions
Copy link

Summary:

  • License scan: success
  • Credentials scan: success
  • Vulnerabilities scan: success
  • Unit test: success
  • Go linting: failure

1 similar comment
@github-actions
Copy link

Summary:

  • License scan: success
  • Credentials scan: success
  • Vulnerabilities scan: success
  • Unit test: success
  • Go linting: failure

Signed-off-by: Matthias Bertschy <[email protected]>
@github-actions
Copy link

Summary:

  • License scan: success
  • Credentials scan: success
  • Vulnerabilities scan: success
  • Unit test: success
  • Go linting: success

@matthyx matthyx requested a review from vladklokun June 20, 2023 08:58
pkg/registry/file/watch_test.go Show resolved Hide resolved
Comment on lines +35 to +38
obj runtime.Object
meta *storage.ResponseMeta
rev int64
data []byte
Copy link
Collaborator

Choose a reason for hiding this comment

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

question: is the stale bool variable no longer needed? Why? Was it used before?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it was never needed, golangci-lint was complaining.

)

func main() {
ctx := context.Background()
c, err := config.LoadConfig("/etc/config")
Copy link
Collaborator

Choose a reason for hiding this comment

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

question: this would mean that the storage would need to have this config file present?

How would this be mapped in the Helm chart? How would we ensure this config exists? Should we provide an example?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

either we need the file present, or having some env set in order to know the customerID to enrich spans
kubescape/helm-charts#201

@matthyx
Copy link
Contributor Author

matthyx commented Jun 20, 2023

@dwertent should we release this to go along with the next Helm release?

@matthyx matthyx merged commit c27b3a8 into main Jun 21, 2023
@matthyx matthyx deleted the telemetry branch June 21, 2023 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants