mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-22 16:18:22 +03:00
Various Tweaks (#22554)
Some checks are pending
CI / AMD64 Build (push) Waiting to run
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions
Some checks are pending
CI / AMD64 Build (push) Waiting to run
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions
* Change review GenAI metric to seconds * Update API docs
This commit is contained in:
parent
373bcadef8
commit
acd10d0e08
2803
docs/static/frigate-api.yaml
vendored
2803
docs/static/frigate-api.yaml
vendored
File diff suppressed because it is too large
Load Diff
@ -24,8 +24,8 @@ export const EmbeddingThreshold = {
|
|||||||
} as Threshold;
|
} as Threshold;
|
||||||
|
|
||||||
export const GenAIThreshold = {
|
export const GenAIThreshold = {
|
||||||
warning: 30000,
|
warning: 60,
|
||||||
error: 60000,
|
error: 120,
|
||||||
} as Threshold;
|
} as Threshold;
|
||||||
|
|
||||||
export const DetectorTempThreshold = {
|
export const DetectorTempThreshold = {
|
||||||
|
|||||||
@ -107,7 +107,10 @@ export default function EnrichmentMetrics({
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
series[key].data.push({ x: statsIdx + 1, y: stat });
|
series[key].data.push({
|
||||||
|
x: statsIdx + 1,
|
||||||
|
y: rawKey.includes("description_speed") ? stat / 1000 : stat,
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -115,6 +118,7 @@ export default function EnrichmentMetrics({
|
|||||||
const grouped: {
|
const grouped: {
|
||||||
[category: string]: {
|
[category: string]: {
|
||||||
categoryName: string;
|
categoryName: string;
|
||||||
|
unit: string;
|
||||||
speedSeries?: {
|
speedSeries?: {
|
||||||
name: string;
|
name: string;
|
||||||
metrics: Threshold;
|
metrics: Threshold;
|
||||||
@ -154,6 +158,7 @@ export default function EnrichmentMetrics({
|
|||||||
if (!(categoryKey in grouped)) {
|
if (!(categoryKey in grouped)) {
|
||||||
grouped[categoryKey] = {
|
grouped[categoryKey] = {
|
||||||
categoryName,
|
categoryName,
|
||||||
|
unit: categoryKey.includes("description") ? "s" : "ms",
|
||||||
speedSeries: undefined,
|
speedSeries: undefined,
|
||||||
eventsSeries: undefined,
|
eventsSeries: undefined,
|
||||||
};
|
};
|
||||||
@ -196,7 +201,7 @@ export default function EnrichmentMetrics({
|
|||||||
key={`${group.categoryName}-speed`}
|
key={`${group.categoryName}-speed`}
|
||||||
graphId={`${group.categoryName}-inference`}
|
graphId={`${group.categoryName}-inference`}
|
||||||
name={t("enrichments.averageInf")}
|
name={t("enrichments.averageInf")}
|
||||||
unit="ms"
|
unit={group.unit}
|
||||||
threshold={group.speedSeries.metrics}
|
threshold={group.speedSeries.metrics}
|
||||||
updateTimes={updateTimes}
|
updateTimes={updateTimes}
|
||||||
data={[group.speedSeries]}
|
data={[group.speedSeries]}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user