Verify Jenkins release, deploy metrics collector, and test compiler failure
This commit is contained in:
+18
-7
@@ -17,7 +17,7 @@ Implemented:
|
|||||||
is preserved on local archive/final-project-documentation-draft.
|
is preserved on local archive/final-project-documentation-draft.
|
||||||
- Durable locked versions; immutable release reuse; no conflicting overwrite.
|
- Durable locked versions; immutable release reuse; no conflicting overwrite.
|
||||||
- ZIP manifest/hash and reviewed-file behavior gates.
|
- ZIP manifest/hash and reviewed-file behavior gates.
|
||||||
- Live-only metric emitter and dashboard proposal (not deployed).
|
- Live-only metric emitter; collector and dashboard now deployed.
|
||||||
- 18 pipeline/publication tests passed in the pinned image; 2 existing
|
- 18 pipeline/publication tests passed in the pinned image; 2 existing
|
||||||
pricing tests passed. Host lacks pypdf, so 4 publication tests require
|
pricing tests passed. Host lacks pypdf, so 4 publication tests require
|
||||||
the image rather than host-only Python.
|
the image rather than host-only Python.
|
||||||
@@ -32,10 +32,8 @@ Observed evidence:
|
|||||||
NOT by a Jenkins job. Subsequent fixes/tests must retain their own run IDs.
|
NOT by a Jenkins job. Subsequent fixes/tests must retain their own run IDs.
|
||||||
|
|
||||||
Pending before calling Member 2 remotely complete:
|
Pending before calling Member 2 remotely complete:
|
||||||
- User creates the prepared Jenkins job from the signed-in browser; browser
|
- Jenkins #1 completed successfully; latest test/monitoring updates still
|
||||||
click/type automation is unavailable in this chat. No API login was assumed.
|
require a subsequent run after their push.
|
||||||
- Run the latest successful Actions SHA/run/attempt through the Jenkins job;
|
|
||||||
verify credential access, stage execution and downloadable archive.
|
|
||||||
- Rehearse downstream failure/no-publication and retry in Jenkins itself.
|
- Rehearse downstream failure/no-publication and retry in Jenkins itself.
|
||||||
- Agree source baseline and final version line with Member 1 (1.0 provisional).
|
- Agree source baseline and final version line with Member 1 (1.0 provisional).
|
||||||
- Integrate actual model/runtime, measured token/memory results, AI/human SWOT
|
- Integrate actual model/runtime, measured token/memory results, AI/human SWOT
|
||||||
@@ -44,10 +42,23 @@ Pending before calling Member 2 remotely complete:
|
|||||||
- Write the report chapter later, only when the user resumes documentation.
|
- Write the report chapter later, only when the user resumes documentation.
|
||||||
|
|
||||||
Next operator action:
|
Next operator action:
|
||||||
Read ci/OPERATIONS.txt and ci/jenkins-job.xml. Use the provided browser setup
|
The separate final-project-fixture job exists. Temporary API setup is pending
|
||||||
snippet to create only final-project-fixture; keep existing jobs untouched.
|
in the signed-in browser to automate remaining failure/retry checks.
|
||||||
|
|
||||||
Persistence/cleanup:
|
Persistence/cleanup:
|
||||||
Volume ssw590-final-project-state contains fixture reservations/releases.
|
Volume ssw590-final-project-state contains fixture reservations/releases.
|
||||||
Temporary container names begin ssw590-final-. Remove only the known current
|
Temporary container names begin ssw590-final-. Remove only the known current
|
||||||
container, never the state volume or unrelated application/monitoring services.
|
container, never the state volume or unrelated application/monitoring services.
|
||||||
|
|
||||||
|
Technical checkpoint, 2026-11-26 (report writing remains deferred):
|
||||||
|
- Actual Jenkins final-project-fixture #1 SUCCESS, Actions #38, source
|
||||||
|
0e7ade75b99e18a24db1e7c78f6f442256be2e0f; archived fixture 1.0.2.
|
||||||
|
- ZIP payload hashes and independently extracted reviewed.py pass.
|
||||||
|
- Real Jenkins PDF contains generated review data and diff.
|
||||||
|
- 19 pipeline tests now pass in compiler image, including real TeX failure
|
||||||
|
that removes stale PDF/manifest. Earlier Jenkins #1 ran 18 plus 2 pricing.
|
||||||
|
- Node Exporter textfile collector and final dashboard deployed; target up,
|
||||||
|
collector success 1, scrape error 0. No live-model counts emitted.
|
||||||
|
- CPU/memory time series from actual Jenkins #1 saved in ci/evidence/.
|
||||||
|
- Pending: authenticated remote retry/failure runs; latest technical changes
|
||||||
|
pushed and tested; Member 1 real runtime and model integration.
|
||||||
|
|||||||
Binary file not shown.
@@ -0,0 +1,138 @@
|
|||||||
|
{
|
||||||
|
"jenkins_build": 1,
|
||||||
|
"start": 1795637897.303,
|
||||||
|
"end": 1795638073.477,
|
||||||
|
"scope": "Shared host, includes unrelated workloads; not model RSS",
|
||||||
|
"series": {
|
||||||
|
"cpu_percent": [
|
||||||
|
{
|
||||||
|
"metric": {},
|
||||||
|
"values": [
|
||||||
|
[
|
||||||
|
1795637777.303,
|
||||||
|
"77.6760923166033"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795637807.303,
|
||||||
|
"92.7444444444134"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795637837.303,
|
||||||
|
"99.97777777775708"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795637867.303,
|
||||||
|
"89.62895444741524"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795637897.303,
|
||||||
|
"89.65555555555814"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795637927.303,
|
||||||
|
"89.36666666672359"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795637957.303,
|
||||||
|
"98.16666666670547"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795637987.303,
|
||||||
|
"96.65555555560988"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795638017.303,
|
||||||
|
"95.46666666664856"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795638047.303,
|
||||||
|
"95.41111111110594"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795638077.303,
|
||||||
|
"94.58888888882939"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795638107.303,
|
||||||
|
"76.33385924758521"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795638137.303,
|
||||||
|
"64.63333333331522"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795638167.303,
|
||||||
|
"50.77777777779071"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"available_memory_bytes": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "node_memory_MemAvailable_bytes",
|
||||||
|
"instance": "node-exporter:9100",
|
||||||
|
"job": "node"
|
||||||
|
},
|
||||||
|
"values": [
|
||||||
|
[
|
||||||
|
1795637777.303,
|
||||||
|
"446656512"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795637807.303,
|
||||||
|
"433098752"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795637837.303,
|
||||||
|
"559407104"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795637867.303,
|
||||||
|
"537243648"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795637897.303,
|
||||||
|
"437555200"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795637927.303,
|
||||||
|
"396320768"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795637957.303,
|
||||||
|
"455864320"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795637987.303,
|
||||||
|
"460541952"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795638017.303,
|
||||||
|
"422821888"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795638047.303,
|
||||||
|
"443179008"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795638077.303,
|
||||||
|
"423858176"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795638107.303,
|
||||||
|
"405078016"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795638137.303,
|
||||||
|
"362545152"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1795638167.303,
|
||||||
|
"358948864"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"jenkins_url": "https://ci.myfileagent.tech/job/final-project-fixture/1/",
|
||||||
|
"actions_run": 38,
|
||||||
|
"manifest": {
|
||||||
|
"attempt": "1",
|
||||||
|
"jenkins_build": "1",
|
||||||
|
"mode": "fixture",
|
||||||
|
"payload_sha256": {
|
||||||
|
"README.txt": "0a7793faeee8ddc7d1fee883e85195eb08f767b09dc32d9c0be33cb316365f98",
|
||||||
|
"report-1.0.2.pdf": "f41138043a3b7d928bb9d6701a9ce8fd76c58c30b93a198fe4dae4fabd659b1b",
|
||||||
|
"review.json": "e56cc2bc964314e35e8917b972b13628b4e83d61b758bf179e7d42ee29a7dc6d",
|
||||||
|
"reviewed.py": "b80792336156c7b0f7fe02eeef24610d2d52a10d1810397744471d1dc5738180"
|
||||||
|
},
|
||||||
|
"run_id": "38",
|
||||||
|
"schema_version": 1,
|
||||||
|
"source_commit": "0e7ade75b99e18a24db1e7c78f6f442256be2e0f",
|
||||||
|
"version": "1.0.2"
|
||||||
|
},
|
||||||
|
"zip_sha256": "64173b7bd460cf4ff392ec0cc051865220a242d12e779f929e63a57606013794",
|
||||||
|
"payload_hashes": "pass",
|
||||||
|
"fresh_runtime_smoke": "pass",
|
||||||
|
"jenkins_result": "SUCCESS",
|
||||||
|
"test_counts": {
|
||||||
|
"pipeline": 18,
|
||||||
|
"existing": 2
|
||||||
|
},
|
||||||
|
"pdf_check": {
|
||||||
|
"release_identity": "pass",
|
||||||
|
"generated_review_appendix": "pass",
|
||||||
|
"reviewed_code": "pass after removing PDF extraction whitespace",
|
||||||
|
"review_diff": "present"
|
||||||
|
},
|
||||||
|
"console_log_sha256": "e429970e610fc3e259d11df7e8800d821374d28f264458e8828b1cbcd15c14f4"
|
||||||
|
}
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
{
|
||||||
|
"observed_epoch": 1795711458,
|
||||||
|
"queries": {
|
||||||
|
"node_textfile_scrape_error": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "node_textfile_scrape_error",
|
||||||
|
"instance": "node-exporter:9100",
|
||||||
|
"job": "node"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1795711458.653,
|
||||||
|
"0"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"node_scrape_collector_success{collector=\"textfile\"}": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "node_scrape_collector_success",
|
||||||
|
"collector": "textfile",
|
||||||
|
"instance": "node-exporter:9100",
|
||||||
|
"job": "node"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1795711458.655,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"up{job=\"node\"}": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "up",
|
||||||
|
"instance": "node-exporter:9100",
|
||||||
|
"job": "node"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1795711521.843,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"live_tokens_emitted": false,
|
||||||
|
"connectivity_probe": {
|
||||||
|
"query": "ssw590_collector_check",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "ssw590_collector_check",
|
||||||
|
"instance": "node-exporter:9100",
|
||||||
|
"job": "node"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1795711663.854,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"removed_after_check": true
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
test_concurrent_reservation (test_pipeline.PipelineTests.test_concurrent_reservation) ... ok
|
||||||
|
test_duplicate_and_symlink (test_pipeline.PipelineTests.test_duplicate_and_symlink) ... /usr/lib/python3.11/zipfile.py:1569: UserWarning: Duplicate name: 'reviewed.py'
|
||||||
|
return self._open_to_write(zinfo, force_zip64=force_zip64)
|
||||||
|
ok
|
||||||
|
test_fixture_cli_and_source_integrity (test_pipeline.PipelineTests.test_fixture_cli_and_source_integrity) ... ok
|
||||||
|
test_fixture_unchanged (test_pipeline.PipelineTests.test_fixture_unchanged) ... ok
|
||||||
|
test_fresh_output_required (test_pipeline.PipelineTests.test_fresh_output_required) ... ok
|
||||||
|
test_good_bundle_and_smoke (test_pipeline.PipelineTests.test_good_bundle_and_smoke) ... ok
|
||||||
|
test_metrics_reject_fixture (test_pipeline.PipelineTests.test_metrics_reject_fixture) ... ok
|
||||||
|
test_missing_live_counts_are_unknown (test_pipeline.PipelineTests.test_missing_live_counts_are_unknown) ... ok
|
||||||
|
test_rejected_not_bundled (test_pipeline.PipelineTests.test_rejected_not_bundled) ... ok
|
||||||
|
test_runtime_failure_reaches_smoke (test_pipeline.PipelineTests.test_runtime_failure_reaches_smoke) ... ok
|
||||||
|
test_tampered_transfer (test_pipeline.PipelineTests.test_tampered_transfer) ... ok
|
||||||
|
test_unexpected_paths (test_pipeline.PipelineTests.test_unexpected_paths) ... ok
|
||||||
|
test_version_retry_and_mode (test_pipeline.PipelineTests.test_version_retry_and_mode) ... ok
|
||||||
|
test_wrong_identity (test_pipeline.PipelineTests.test_wrong_identity) ... ok
|
||||||
|
test_existing_version_refuses_changed_review (test_release.ReleaseTests.test_existing_version_refuses_changed_review) ... ok
|
||||||
|
test_publish_and_retry_preserve_bytes (test_release.ReleaseTests.test_publish_and_retry_preserve_bytes) ... Reusing immutable release and its original build identity
|
||||||
|
ok
|
||||||
|
test_report_mismatch_prevents_release (test_release.ReleaseTests.test_report_mismatch_prevents_release) ... ok
|
||||||
|
test_runtime_failure_prevents_release (test_release.ReleaseTests.test_runtime_failure_prevents_release) ... ok
|
||||||
|
test_failed_compile_removes_stale_publish_targets (test_tex_failure.CompilerFailureTests.test_failed_compile_removes_stale_publish_targets) ... ok
|
||||||
|
|
||||||
|
----------------------------------------------------------------------
|
||||||
|
Ran 19 tests in 2.603s
|
||||||
|
|
||||||
|
OK
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
"""Exercise a real compiler failure without modifying the project manual."""
|
||||||
|
from pathlib import Path
|
||||||
|
import shutil
|
||||||
|
import subprocess
|
||||||
|
import sys
|
||||||
|
import tempfile
|
||||||
|
import unittest
|
||||||
|
|
||||||
|
ROOT = Path(__file__).resolve().parents[2]
|
||||||
|
|
||||||
|
|
||||||
|
@unittest.skipUnless(shutil.which('latexmk'), 'Requires the pinned TeX image')
|
||||||
|
class CompilerFailureTests(unittest.TestCase):
|
||||||
|
def test_failed_compile_removes_stale_publish_targets(self):
|
||||||
|
with tempfile.TemporaryDirectory() as temp:
|
||||||
|
root = Path(temp)
|
||||||
|
for name in ('documentation/ci/build_manual.py', 'ci/final_project.py'):
|
||||||
|
target = root / name
|
||||||
|
target.parent.mkdir(parents=True, exist_ok=True)
|
||||||
|
shutil.copy2(ROOT / name, target)
|
||||||
|
(root / 'documentation/main.tex').write_text(
|
||||||
|
'\\documentclass{article}\n\\newcommand{\\DocumentVersion}{1.0}\n'
|
||||||
|
'\\begin{document}\n\\UndefinedFinalProjectCommand\n\\end{document}\n')
|
||||||
|
def git(*args):
|
||||||
|
return subprocess.check_output(['git', '-C', str(root), *args], stderr=subprocess.DEVNULL, text=True).strip()
|
||||||
|
git('init'); git('add', '.')
|
||||||
|
git('-c', 'user.name=Fixture', '-c', 'user.email=fixture@localhost', 'commit', '-m', 'Isolated compiler failure fixture')
|
||||||
|
build = root / 'documentation/build'
|
||||||
|
build.mkdir()
|
||||||
|
for name in ('main.pdf', 'build-manifest.json'):
|
||||||
|
(build / name).write_text('stale output')
|
||||||
|
result = subprocess.run([sys.executable, str(root/'documentation/ci/build_manual.py'),
|
||||||
|
'--sha', git('rev-parse', 'HEAD'), '--run-number', '1', '--run-id', '1'],
|
||||||
|
capture_output=True, text=True, timeout=60)
|
||||||
|
self.assertNotEqual(result.returncode, 0)
|
||||||
|
self.assertIn('LaTeX compilation failed', result.stderr)
|
||||||
|
self.assertTrue((build/'main.log').is_file())
|
||||||
|
self.assertFalse((build/'main.pdf').exists())
|
||||||
|
self.assertFalse((build/'build-manifest.json').exists())
|
||||||
@@ -52,8 +52,11 @@ services:
|
|||||||
- --collector.cpu
|
- --collector.cpu
|
||||||
- --collector.meminfo
|
- --collector.meminfo
|
||||||
- --collector.filesystem
|
- --collector.filesystem
|
||||||
|
- --collector.textfile
|
||||||
|
- --collector.textfile.directory=/textfiles
|
||||||
volumes:
|
volumes:
|
||||||
- /:/host:ro,rslave
|
- /:/host:ro,rslave
|
||||||
|
- /home/codex/ssw590-final-metrics:/textfiles:ro
|
||||||
networks: [monitoring]
|
networks: [monitoring]
|
||||||
blackbox-exporter:
|
blackbox-exporter:
|
||||||
image: quay.io/prometheus/blackbox-exporter:v0.29.1
|
image: quay.io/prometheus/blackbox-exporter:v0.29.1
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
Final-project monitoring integration — prepared, not deployed
|
Final-project monitoring integration — collector and dashboard deployed; live-model connection pending
|
||||||
|
|
||||||
Use Member 1's measured live review metadata only. The metric adapter is:
|
Use Member 1's measured live review metadata only. The metric adapter is:
|
||||||
python3 ci/final_project.py metrics --review-dir VERIFIED_LIVE_DIRECTORY \
|
python3 ci/final_project.py metrics --review-dir VERIFIED_LIVE_DIRECTORY \
|
||||||
--completed-at MEASURED_COMPLETION_EPOCH --output DIRECTORY/final-project.prom
|
--completed-at MEASURED_COMPLETION_EPOCH --output DIRECTORY/final-project.prom
|
||||||
|
|
||||||
Coordinate a dedicated host directory and readonly mount into Node Exporter.
|
Dedicated host directory: /home/codex/ssw590-final-metrics
|
||||||
|
Mounted readonly into Node Exporter at /textfiles.
|
||||||
Enable --collector.textfile and --collector.textfile.directory=/textfiles
|
Enable --collector.textfile and --collector.textfile.directory=/textfiles
|
||||||
in addition to the existing cpu, meminfo and filesystem collectors. Do not
|
in addition to the existing cpu, meminfo and filesystem collectors. Do not
|
||||||
replace the existing deployment Compose file with an unverified template.
|
replace the existing deployment Compose file with an unverified template.
|
||||||
@@ -16,7 +17,7 @@ Retain last-run gauges through at least two 30-second scrapes. Unknown counts
|
|||||||
are omitted and explicitly represented by *_available == 0. Do not substitute
|
are omitted and explicitly represented by *_available == 0. Do not substitute
|
||||||
zero tokens for an unknown count. Refresh/remove stale samples intentionally.
|
zero tokens for an unknown count. Refresh/remove stale samples intentionally.
|
||||||
|
|
||||||
Import/provision dashboard.json after review. Keep existing dashboard copies
|
dashboard.json is provisioned with the existing prometheus datasource. Keep existing dashboard copies
|
||||||
in sync where the existing monitoring deployment requires it. Add annotations
|
in sync where the existing monitoring deployment requires it. Add annotations
|
||||||
for source SHA, Actions run/attempt and Jenkins build; use a fixed window.
|
for source SHA, Actions run/attempt and Jenkins build; use a fixed window.
|
||||||
Fixture metrics must not populate the live panels. Shared-host CPU includes
|
Fixture metrics must not populate the live panels. Shared-host CPU includes
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
},
|
},
|
||||||
"datasource": {
|
"datasource": {
|
||||||
"type": "prometheus",
|
"type": "prometheus",
|
||||||
"uid": "${DS_PROMETHEUS}"
|
"uid": "prometheus"
|
||||||
},
|
},
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
},
|
},
|
||||||
"datasource": {
|
"datasource": {
|
||||||
"type": "prometheus",
|
"type": "prometheus",
|
||||||
"uid": "${DS_PROMETHEUS}"
|
"uid": "prometheus"
|
||||||
},
|
},
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
},
|
},
|
||||||
"datasource": {
|
"datasource": {
|
||||||
"type": "prometheus",
|
"type": "prometheus",
|
||||||
"uid": "${DS_PROMETHEUS}"
|
"uid": "prometheus"
|
||||||
},
|
},
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
@@ -103,7 +103,7 @@
|
|||||||
},
|
},
|
||||||
"datasource": {
|
"datasource": {
|
||||||
"type": "prometheus",
|
"type": "prometheus",
|
||||||
"uid": "${DS_PROMETHEUS}"
|
"uid": "prometheus"
|
||||||
},
|
},
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
@@ -130,12 +130,18 @@
|
|||||||
},
|
},
|
||||||
"datasource": {
|
"datasource": {
|
||||||
"type": "prometheus",
|
"type": "prometheus",
|
||||||
"uid": "${DS_PROMETHEUS}"
|
"uid": "prometheus"
|
||||||
},
|
},
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "review_input_tokens_available{mode=\"live\"} or review_output_tokens_available{mode=\"live\"}",
|
"expr": "review_input_tokens_available{mode=\"live\"}",
|
||||||
"refId": "A"
|
"refId": "A",
|
||||||
|
"legendFormat": "Input count available"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"expr": "review_output_tokens_available{mode=\"live\"}",
|
||||||
|
"refId": "B",
|
||||||
|
"legendFormat": "Output count available"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
@@ -157,7 +163,7 @@
|
|||||||
},
|
},
|
||||||
"datasource": {
|
"datasource": {
|
||||||
"type": "prometheus",
|
"type": "prometheus",
|
||||||
"uid": "${DS_PROMETHEUS}"
|
"uid": "prometheus"
|
||||||
},
|
},
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
@@ -173,16 +179,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"templating": {
|
|
||||||
"list": [
|
|
||||||
{
|
|
||||||
"name": "DS_PROMETHEUS",
|
|
||||||
"type": "datasource",
|
|
||||||
"query": "prometheus",
|
|
||||||
"label": "Prometheus"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"annotations": {
|
"annotations": {
|
||||||
"list": []
|
"list": []
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user