Skip to content

Commit

Permalink
(JP) ADD deprecatedFeatures counters (#4476)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisuda committed Jan 16, 2024
1 parent d05d04a commit ae910fb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/manuals.jp/admin/logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,9 @@ time=2023-06-08T15:14:20.999Z | lvl=WARN | corr=24fd2acc-060f-11ee-94cc-000c2958
time=2023-06-08T15:14:21.176Z | lvl=WARN | corr=2518249e-060f-11ee-9e76-000c29583ca5 | trans=1686237259-703-00000000004 | from=127.0.0.1 | srv=s1 | subsrv=/A | comp=Orion | op=location.cpp[353]:getGeoJson | msg=Deprecated usage of geo:point detected in attribute location at entity update, please use geo:json instead
```

非推奨機能の使用状況は、`-logDeprecate` CLI (またはログ管理 REST API の同等の `deprecate` パラメータ) が使用されていない場合でも、
[統計 API の counters ブロック](statistics#counter-block)`deprecatedFeature` オブジェクトで追跡されます。

非推奨の機能とその解決方法の詳細については、[非推奨ドキュメント](../deprecated.md) を参照してください。

[トップ](#top)
Expand Down
7 changes: 7 additions & 0 deletions doc/manuals.jp/admin/statistics.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ Orion Context broker は、`GET /statistics` と `GET /cache/statistics` を介
{
...
"counters": {
"deprecatedFeatures": {
"geoFormat": 2,
"metadataLocation": 1,
"ngsiv1Forwarding": 4,
"ngsiv1NotifFormat": 4,
"ngsiv1Requests": 4
},
"invalidRequests": 2,
"jsonRequests": 4,
"noPayloadRequests": 250,
Expand Down

0 comments on commit ae910fb

Please sign in to comment.