-
Notifications
You must be signed in to change notification settings - Fork 33
LGTM Stack through helm #359
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
Conversation
| location = /nginx_status { | ||
| stub_status on; | ||
| access_log off; | ||
| # Allow access from private IP ranges used in k8s clusters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the reason for the ip allowlist? IMO we don't need this? They will keep their service behind a private lb anyway and sometimes nice to be able to fetch metrics and thigns from frontend/lb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reason was to block access but that makes sense, will keep same as health endpoint
| langSmithReleaseName: "langsmith" # Change this value to match your LangSmith release name. | ||
|
|
||
| # ======================== Metrics Exporters ======================== | ||
| kubestatemetrics: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit, can we change these all to camel case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The nginx and redis exporter both use {{ Chart.name }} as the container name, so we can't use camel case because of kubernetes container name restritctions. Switching to redis-exporter, nginx-exporter, etc..
charts/langsmith/values.yaml
Outdated
|
|
||
| observability: | ||
| # This will add an annotation to your containers telling the OTEL Operator to bring up a sidecar container. Used in the LangSmith Observability helm chart. | ||
| sidecarCollector: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perhaps we can just use commonAnnotations for this? (so in the guide just direct user to add this explicit annotation to their commonAnnotation section?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The annotations need to be under the spec.template.metadata.annotations section, which we don't use commonAnnotations for atm. Fine to add commonAnnotations to those annotations?
charts/langsmith-observability/templates/otel/rbac-gateway.yaml
Outdated
Show resolved
Hide resolved
| @@ -0,0 +1,108 @@ | |||
| {{- if or .Values.otelCollector.metrics.enabled .Values.otelCollector.traces.enabled }} | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a world where we have justs the gateway/no sidecars? We don't actually run that many services insside langsmith so might be fine to exclude sidecars for perf reassons?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed offline, sticking with sidecar because of logs on filesystem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the s3 configurations since these use a different helm chart for mimir and tempo - hence we don't support at all
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No Mimir chart for the single binary version, only distributed.
langchain-infra
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💪 lgtm!
builds on top of langchain-ai/helm#359
This branch builds on top of this PR: #353