Skip to content

Commit

Permalink
Add noqa to stop ruff and black from fighting
Browse files Browse the repository at this point in the history
  • Loading branch information
tstirrat15 committed Dec 18, 2024
1 parent c2735ba commit 31c683b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions spicedb/datadog_checks/spicedb/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@
"spicedb_datastore_hedged_requests_total": "application.datastore.hedged_requests",
"spicedb_dispatch_client_check_from_cache_total": "application.dispatch_client.check_from_cache",
"spicedb_dispatch_client_check_total": "application.dispatch_client.check",
"spicedb_dispatch_client_lookup_resources_from_cache_total": "application.dispatch_client.lookup_resources_from_cache",
"spicedb_dispatch_client_lookup_resources_from_cache_total":
"application.dispatch_client.lookup_resources_from_cache",
"spicedb_dispatch_client_lookup_resources_total": "application.dispatch_client.lookup_resources",
"spicedb_dispatch_client_lookup_subjects_from_cache_total": "application.dispatch_client.lookup_subjects_from_cache",
"spicedb_dispatch_client_lookup_subjects_from_cache_total": "application.dispatch_client.lookup_subjects_from_cache", # noqa: E501
"spicedb_dispatch_client_lookup_subjects_total": "application.dispatch_client.lookup_subjects",
"spicedb_dispatch_client_reachable_resources_from_cache_total": "application.dispatch_client.reachable_resources_from_cache",
"spicedb_dispatch_client_reachable_resources_from_cache_total": "application.dispatch_client.reachable_resources_from_cache", # noqa: E501
"spicedb_dispatch_client_reachable_resources_total": "application.dispatch_client.reachable_resources",
# gRPC counter metrics
"grpc_server_handled_total": "grpc.server.handled",
Expand All @@ -40,9 +41,9 @@

GAUGE_METRICS = {
# SpiceDB gauge metrics
"spicedb_datastore_watching_schema_cache_caveats_fallback_mode": "application.datastore.watching_schema_cache.caveats_fallback_mode",
"spicedb_datastore_watching_schema_cache_namespaces_fallback_mode": "application.datastore.watching_schema_cache.namespaces_fallback_mode",
"spicedb_datastore_watching_schema_cache_tracked_revision": "application.datastore.watching_schema_cache.tracked_revision",
"spicedb_datastore_watching_schema_cache_caveats_fallback_mode": "application.datastore.watching_schema_cache.caveats_fallback_mode", # noqa: E501
"spicedb_datastore_watching_schema_cache_namespaces_fallback_mode": "application.datastore.watching_schema_cache.namespaces_fallback_mode", # noqa: E501
"spicedb_datastore_watching_schema_cache_tracked_revision": "application.datastore.watching_schema_cache.tracked_revision", # noqa: E501
# process gauge metrics
"process_virtual_memory_bytes": "process.virtual_memory_bytes",
}
Expand Down

0 comments on commit 31c683b

Please sign in to comment.