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

feat(backend): add opentelemetry backend in orb-agent, policies. #2780

Conversation

lpegoraro
Copy link
Contributor

@lpegoraro lpegoraro commented Oct 24, 2023

This needs to merged after with orb-community/pktvisor#699
So it uses the latest pktvisor on orb-agent.

I managed to create a end2end opentelemetry backend, all the way from orb-agent to an grafana endpoint.

Here's a sample of the Dashboard I created to showcase the scenario from a httpchecker receiver.
Screenshot from 2023-11-02 14-38-42

The policy created in Orb to test is the following:

receivers:
  httpcheck:
    targets:
      - endpoint: http://orb.live
        method: GET
      - endpoint: http://orb.community
        method: GET
    collection_interval: 60s
exporters:
  otlp:
    endpoint: localhost:4317
    tls:
      insecure: true
  logging:
    verbosity: detailed
    sampling_initial: 5
service:
  pipelines:
    metrics:
      exporters: 
        - otlp
      receivers: 
        - httpcheck

Luiz Pegoraro and others added 30 commits August 3, 2023 17:47
…le within go, using new lib and go:embed to import binary into code.
# Conflicts:
#	go.mod
#	go.sum
mfiedorowicz and others added 12 commits November 15, 2023 15:33
Signed-off-by: Michal Fiedorowicz <mfiedorowicz@netboxlabs.com>
…try-configuration' into eng-1056-orb-policies-opentelemetry-configuration
Co-authored-by: Michal Fiedorowicz <michal@codefella.com>
Signed-off-by: Michal Fiedorowicz <mfiedorowicz@netboxlabs.com>
…fault backend and already setting it up, to if backends are absent from config, use default pktvisor with default configurations.
Copy link
Member

@mfiedorowicz mfiedorowicz left a comment

Choose a reason for hiding this comment

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

🤞🏻 🚀

@lpegoraro lpegoraro merged commit 39a654b into orb-community:develop Nov 17, 2023
20 checks passed
@lpegoraro lpegoraro deleted the eng-1056-orb-policies-opentelemetry-configuration branch January 17, 2024 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants