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

NETOBSERV-101 - loki statusURL #154

Merged
merged 2 commits into from
Aug 31, 2022

Conversation

jpinsonneau
Copy link
Contributor

Following observatorium/api#350 we will not have access to loki ready, config, metrics and build infos endpoints using the gateway.

This PR allow to configure a statusURL in the CRD and send it to the console plugin

Related PR: netobserv/network-observability-console-plugin#186

Copy link
Member

@jotak jotak left a comment

Choose a reason for hiding this comment

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

almost lgtm, just a typo + small remark

//+kubebuilder:validation:optional
// StatusURL specifies the address of the Loki /ready /metrics /config endpoints, in case it is different from the
// Loki querier URL. If empty, the QuerierURL value will be used.
// This is usefull to show error messages and some context in the frontend
Copy link
Member

Choose a reason for hiding this comment

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

typo: useful

@@ -300,9 +300,15 @@ type FlowCollectorLoki struct {
//+kubebuilder:validation:optional
// QuerierURL specifies the address of the Loki querier service, in case it is different from the
// Loki ingester URL. If empty, the URL value will be used (assuming that the Loki ingester
// and querier are int he same host).
// and querier are in the same host).
Copy link
Member

Choose a reason for hiding this comment

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

nitpicking, but "same host" is not totally correct IMO, I would rephrase as "same server", no? (they can be on same host (node), but different servers / deployments)

@jotak
Copy link
Member

jotak commented Aug 31, 2022

btw: what would be the URL to set when using the loki-operator with the gateway? is it documented?

@jpinsonneau
Copy link
Contributor Author

btw: what would be the URL to set when using the loki-operator with the gateway? is it documented?

You need to point query frontend in that case. Check https://github.com/netobserv/documents/pull/22/files#diff-7f51acaa5430f57ab824677d12e76ad94983d7dd45c949b7cb1335991a019996R97

@openshift-ci openshift-ci bot removed the lgtm label Aug 31, 2022
@jotak
Copy link
Member

jotak commented Aug 31, 2022

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Aug 31, 2022
@jpinsonneau
Copy link
Contributor Author

/approve

@openshift-ci
Copy link

openshift-ci bot commented Aug 31, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jpinsonneau

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit d30306f into netobserv:main Aug 31, 2022
KalmanMeth pushed a commit to KalmanMeth/network-observability-operator that referenced this pull request Feb 13, 2023
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.

None yet

3 participants