Rapid Development and Deployment of Enterprise LLM Features Through Centralized LLM Service Architecture

pagerduty · Tech · 2023 · source Agentic: no · promotional bias: low · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Enterprise incident-management GenAI platform integration

PagerDuty needed to ship multiple production GenAI features into its incident-management platform within two months while standardizing LLM access, security, monitoring, provider flexibility, and product-team integration.

Constraints:

Architecture

PagerDuty built a centralized LLM service running as Kubernetes microservices. Product GenAI features call service endpoints; the service authenticates the account, routes requests to an LLM manager, builds prompts, calls providers such as OpenAI, Azure OpenAI, and AWS Bedrock, applies centralized security controls, logs metrics and call details to Datadog, Sumo Logic, and S3, and returns outputs to features such as AI-generated runbooks, status updates, postmortems, Slack assistant, and automation digest.

Diagram confidence: explicit (topology described by the source).

flowchart LR
  A["PagerDuty GenAI features"] --> B["Central LLM API service"]
  B --> C["Account authentication"]
  B --> D["LLM manager"]
  D --> E["Provider adapters"]
  E --> F["OpenAI"]
  E --> G["Azure OpenAI"]
  E --> H["AWS Bedrock"]
  B --> I["Security controls"]
  J["Security and legal team"] --> I
  D --> K["Datadog"]
  D --> L["Sumo Logic and S3"]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
PagerDuty GenAI features Runbooks, status updates, postmortems, Slack assistant, and automation digest features. Central LLM API service
Central LLM API service Shared access layer for all product LLM calls. PagerDuty GenAI features, Account authentication, LLM manager, Security controls
Account authentication Checks whether an account is authorized for GenAI access. Central LLM API service
LLM manager Builds prompts, chooses providers/models, calls LLM providers, and emits monitoring logs. Central LLM API service, Provider adapters, Datadog, Sumo Logic and S3
Provider adapters Connectors for OpenAI, Azure OpenAI, AWS Bedrock, and future providers. LLM manager, OpenAI, Azure OpenAI, AWS Bedrock
OpenAI Supported LLM provider. Provider adapters
Azure OpenAI Supported LLM provider. Provider adapters
AWS Bedrock Supported LLM provider. Provider adapters
Security controls Central authentication, throttling, prompt-design controls, and ongoing legal/security compliance. Central LLM API service, Security and legal team
Security and legal team Reviews threats, compliance, and evolving security controls. Security controls
Datadog Health and performance metrics sink. LLM manager
Sumo Logic and S3 Stores additional call details for issue detection, debugging, and analysis. LLM manager

Data flow

A PagerDuty GenAI feature sends an API request to the centralized LLM service. The service authenticates the account and checks GenAI access, then forwards the request to an LLM manager that builds prompts, selects the provider/model based on endpoint configuration or prompt version, calls the provider, logs metrics and call details for monitoring and debugging, and returns the generated result to the product feature.

3 supporting quotes
“when an API call is made to the uh our service by a gen feature the service first authenticate the uh customer”transcript, stated
“the llm manager um acts as the engine in a service which is responsible for building prompts uh making uh calls to llm Providers”transcript, stated
“we sent llm call metrics to data doc such as um um status um count of to to tokens latency for monitoring health and performance”transcript, stated

Why this architecture

PagerDuty centralized LLM access so product teams could ship features quickly without duplicating security, monitoring, provider selection, and prompt configuration work. Kubernetes microservices and provider decoupling let teams add endpoints fast, switch providers/models, and apply security changes across all GenAI endpoints.

3 supporting quotes
“central dedicated team um that could focus on the new area and create uh build standards and best practices around uh llm access security monitoring”transcript, stated
“reduce overhead on product teams so that they could save time and focus on building uh geni capabilities”transcript, stated
“our service runs on kubernetes which makes it very uh robust and scalable”transcript, stated

Models used: OpenAI · Azure OpenAI · AWS Bedrock

Scale

Alternatives considered (roads not taken)

Let each product team solve LLM access independently

Rejected because: That would duplicate work and slow teams with LLM access, security, and monitoring complexity.

“other teams uh in the company do not have to work on the same llm related problems which might have been solved by another team”transcript, stated

Tie product features directly to one provider or model

Rejected because: The service needed provider/model flexibility and failover.

“product teams can easily switch between uh different llm providers and models based on their requirements”transcript, stated

Handle security controls per endpoint manually

Rejected because: Centralization let PagerDuty apply security changes across endpoints.

“it is all centralized at pagor Duty hence we can easily apply the security changes across all our um endpoints”transcript, stated

Patterns

model-routing (model-operations)

The centralized service decouples features from providers and lets product teams switch providers/models by configuration.

“the choice of llm provider and model model can easily be decoupled from the service itself”transcript, stated

fallback-degradation (reliability)

The service was designed to fall back to another provider if the primary provider was down.

“if the primary uh llm provider is down in that case the service should be able to fall back to an alternative provider”transcript, stated

observability-tracing (operations)

PagerDuty sends LLM metrics to Datadog and call details to Sumo Logic/S3 for monitoring, debugging, and analysis.

“we sent llm call metrics to data doc such as um um status um count of to to tokens latency”transcript, stated

safety-policy-enforcement (risk)

Security controls include account authentication, throttling, prompt-design strategy, and ongoing security/legal review.

“we have um account authentication uh we have throttling in place to limit the number of request”transcript, stated

Tradeoffs

Create a centralized LLM access service.

Chose Central dedicated LLM service/team over Each product team integrating directly with providers.

Rationale: Centralization reduced duplicated work and let product teams focus on GenAI features.

“centralize the verification and monitoring of llm usage uh across a company so that the most experienced uh and skilled team has oversight”transcript, stated

Use Kubernetes microservices.

Chose Kubernetes-based service architecture over A less scalable monolithic feature-specific integration.

Rationale: Kubernetes helped the team keep adding production endpoints quickly while maintaining scalability.

“it also helps us to keep adding new endpoints very fast in production um since we do not have to worry about scalability”transcript, stated

Log enough for monitoring while controlling access.

Chose Datadog plus Sumo Logic/S3 with access controls over Minimal opaque logging or unrestricted logs.

Rationale: The new technology needed visibility for debugging and analysis, while security compliance required controlled access.

“collect and loock few more llm call details to Sumo logic and S3 which can be used used for detecting issue debugging”transcript, stated

Gotchas (what bit them)

Fast GenAI shipping can collide with security and legal readiness.

Root cause: LLM services create risks such as unauthorized use, prompt injection, sensitive data leakage, and misinformation.

Resolution: Work with security/legal early and centralize mandatory controls.

“work with security and legal team to ensure security and legal compliance for the service”transcript, stated
“using prompt ejection hackers can disguise something malicious um uh can disguise malicious content as as legitimate prompts”transcript, stated

Provider outage could break product features.

Root cause: GenAI features depend on third-party LLM provider availability.

Resolution: Build failover to alternate providers in the centralized LLM service.

“what if the primary uh llm provider is down in that case the service should be able to fall back to an alternative provider”transcript, stated

LLM observability has provider-dependent logging constraints.

Root cause: What can be logged about LLM calls depends on provider behavior and compliance boundaries.

Resolution: Define what, how, and where logs are stored and who can access them.

“what and how we can log about the llm calls is somewhat dependent on the third party providers”transcript, stated
“clearly Define what how where we are logging and who has access to what”transcript, stated

Evaluation

PagerDuty's reported evaluation is operational rather than benchmark-based: production deployment within two months, continuous monitoring of status/tokens/latency, issue-debugging logs, and security/legal review of risk controls.

Metrics: Two-month production deployment · LLM status counts · Token counts · Latency · Health and performance · Security risk controls

3 supporting quotes
“we developed and deployed J features into production in two months”transcript, stated
“tokens latency for monitoring health and performance”transcript, stated
“continuously need to assess our security situation and identify new and emerging risks”transcript, stated

Outcomes

The source reports a two-month production timeline, multiple product features, multiple providers, Kubernetes scalability, centralized monitoring, and status/token/latency metrics.

3 supporting quotes
“we developed and deployed J features into production in two months”transcript, stated
“we have been able to standardize llm um access and practices for uh different gen features across a company”transcript, stated
“we are able to support multiple llm providers some of them being open AI aor open AI AWS bedrock”transcript, stated