Skip to content

Conversation

@romain-priour-lc
Copy link
Contributor

This branch builds on top of this PR: #353

@romain-priour-lc romain-priour-lc marked this pull request as ready for review June 23, 2025 23:30
location = /nginx_status {
stub_status on;
access_log off;
# Allow access from private IP ranges used in k8s clusters
Copy link
Contributor

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

Copy link
Contributor Author

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:
Copy link
Contributor

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?

Copy link
Contributor Author

@romain-priour-lc romain-priour-lc Jun 25, 2025

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..


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:
Copy link
Contributor

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?

Copy link
Contributor Author

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?

@@ -0,0 +1,108 @@
{{- if or .Values.otelCollector.metrics.enabled .Values.otelCollector.traces.enabled }}
Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link
Contributor Author

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

Copy link
Contributor Author

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.

Copy link
Contributor

@langchain-infra langchain-infra left a comment

Choose a reason for hiding this comment

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

💪 lgtm!

@romain-priour-lc romain-priour-lc merged commit 8802315 into main Jun 25, 2025
2 checks passed
@romain-priour-lc romain-priour-lc deleted the romain/inf-547-lgtm-stack branch June 25, 2025 21:04
romain-priour-lc added a commit to langchain-ai/langsmith-docs that referenced this pull request Jun 25, 2025
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.

3 participants