Closed ucatbas closed 3 weeks ago
This pull request primarily updates the version number of the Permify API from "v1.1.9" to "v1.2.0" across multiple files, including Swagger and OpenAPI documentation, as well as internal structures. Additionally, it simplifies the metrics handling in various components by removing duration-based measurements and focusing on counting operations instead. This change affects the CheckEngineWithCache
, DirectInvoker
, DataServer
, and SchemaServer
, streamlining how cache hits and other operations are recorded.
File Path | Change Summary |
---|---|
docs/api-reference/apidocs.swagger.json | Version updated from "v1.1.9" to "v1.2.0". |
docs/api-reference/openapiv2/apidocs.swagger.json | Version updated from "v1.1.9" to "v1.2.0". |
internal/engines/cache/check.go | Removed cacheCounter and cacheHitDurationHistogram ; added cacheHitHistogram . |
internal/engines/cache/check_test.go | Updated initialization of CheckEngineWithCache struct by removing a nil field. |
internal/info.go | Version constant updated from "v1.1.9" to "v1.2.0". |
internal/invoke/invoke.go | Removed multiple counters and duration histograms; added new histogram metrics for operations. |
internal/servers/dataServer.go | Changed histogram metrics to count operations instead of measuring duration; removed timing logic. |
internal/servers/schemaServer.go | Removed time package; changed histogram metrics to count operations instead of measuring duration. |
proto/base/v1/openapi.proto | Version updated from "v1.1.9" to "v1.2.0". |
internal/info.go
from "v1.0.3"
to "v1.0.4"
, related to versioning changes.internal/info.go
from "v1.0.4"
to "v1.0.5"
, continuing versioning updates.internal/info.go
from "v1.0.5"
to "v1.0.6"
, part of ongoing version updates.internal/info.go
from "v1.0.6"
to "v1.0.7"
, maintaining versioning consistency.internal/info.go
from "v1.1.0"
to "v1.1.1"
, relevant to versioning changes.internal/info.go
from "v1.1.1"
to "v1.1.2"
, reflecting versioning updates.internal/info.go
from "v1.1.2"
to "v1.1.3"
, aligning with versioning changes.internal/info.go
from "v1.1.5"
to "v1.1.6"
, related to versioning changes.internal/info.go
from "v1.1.7"
to "v1.1.8"
, part of ongoing version updates.🐰 In the fields of code, we hop and play,
A version change, hip-hip-hooray!
From "v1.1.9" to "v1.2.0" we leap,
Metrics refined, our data we keep.
With each little change, we grow and improve,
In the world of APIs, we find our groove! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description:
This PR refactors the OTLP histogram recording logic.
Changes:
Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
Documentation