LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
⌘I

Chat LangChain

What can I help with?

Enter to send·Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
Pythonlangsmithtypescustom_charts_sectionChartSingleCustomChartResponseSerializedSeries
Class●Since v0.15

ChartSingleCustomChartResponseSerializedSeries

Copy
ChartSingleCustomChartResponseSerializedSeries()

Bases

BaseModel

Attributes

Inherited fromBaseModel

Attributes

Amodel_fields_set: set[str]Amodel_config: ConfigDictAmodel_construct: construct

Methods

Mto_dict
—

Recursively generate a dictionary representation of the model, optionally specifying which fields to include or exclude.

View source on GitHub
Mto_json
—

Generates a JSON string representing this model as it would be received from or sent to the API (but with indentation).

Mconstruct
Mmodel_dump
—

Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump

Mmodel_dump_json
—

Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump_json

Classes

CConfig
attribute
id: str
attribute
name: str
attribute
feedback_key: Optional[str]
attribute
filter_definition: Optional[ChartSingleCustomChartResponseSerializedSeriesFilterDefinition]
attribute
filters: Optional[ChartSingleCustomChartResponseSerializedSeriesFilters]
attribute
group_by: Optional[ChartSingleCustomChartResponseSerializedSeriesGroupBy]
attribute
group_by_definitions: Optional[List[ChartSingleCustomChartResponseSerializedSeriesGroupByDefinition]]
attribute
metadata: Optional[Dict[str, object]]
attribute
metric: Optional[Literal['run_count', 'latency_p50', 'latency_p99', 'latency_avg', 'first_token_p50', 'first_token_p99', 'total_tokens', 'prompt_tokens', 'completion_tokens', 'median_tokens', 'completion_tokens_p50', 'prompt_tokens_p50', 'tokens_p99', 'completion_tokens_p99', 'prompt_tokens_p99', 'feedback', 'feedback_score_avg', 'feedback_values', 'total_cost', 'prompt_cost', 'completion_cost', 'error_rate', 'streaming_rate', 'cost_p50', 'cost_p99']]
attribute
metric_definition: Optional[ChartSingleCustomChartResponseSerializedSeriesMetricDefinition]
attribute
project_metric: Optional[Literal['memory_usage', 'cpu_usage', 'disk_usage', 'restart_count', 'replica_count', 'worker_count', 'lg_run_count', 'responses_per_second', 'error_responses_per_second', 'p95_latency', 'run_queue_wait_time', 'startable_runs_wait_max_by_priority', 'startable_runs_by_priority', 'running_runs_by_priority']]
attribute
workspace_id: Optional[str]

Include additional information about where the group_by param was set.

Metrics you can chart.

Feedback metrics are not available for organization-scoped charts.

LGP Metrics you can chart.