Skip to content

Commit e65aacb

Browse files
committed
Provision Grafana Dashboards
1 parent efa7434 commit e65aacb

File tree

9 files changed

+1480
-6
lines changed

9 files changed

+1480
-6
lines changed

genAi/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN apt-get update \
2020
COPY requirements.txt .
2121

2222
# Install Python dependencies
23-
RUN pip install --no-cache-dir -r requirements.txt \
23+
RUN pip install -r requirements.txt \
2424
&& pip install uvicorn[standard]
2525

2626
# Copy the rest of the application

genAi/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ async def lifespan(_):
4444
Instrumentator(
4545
excluded_handlers=['/metrics'],
4646
should_group_status_codes=False,
47+
should_instrument_requests_inprogress=True
4748
).instrument(app).expose(app)
4849

4950

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: 1
2+
3+
providers:
4+
- name: "default-dashboards"
5+
type: file
6+
updateIntervalSeconds: 10
7+
options:
8+
path: /etc/grafana/provisioning/dashboards

0 commit comments

Comments
 (0)