Skip to content

Commit 538fee2

Browse files
added beta meta to remove from toc and search
1 parent 614b18f commit 538fee2

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

content/guides/anomalies.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: Anomaly Detection (BETA)
3-
kind: documentation
3+
kind: guide
4+
listorder: 16
5+
beta: true
46
sidebar:
57
nav:
68
- header: Anomaly Detection
@@ -10,6 +12,7 @@ sidebar:
1012
href: "#alerts"
1113
---
1214

15+
1316
Anomaly detection is an algorithmic feature that allows you to identify when a metric is behaving differently than it has in the past, taking into account day-of-week and time-of-day patterns. It's well suited for metrics with recurring patterns that are hard or impossible to monitor with threshold-based alerting. For example, anomaly detection can help you discover when your web traffic is unusually low on a weekday afternoon - even though that same level of traffic would be perfectly normal later in the evening.
1417

1518
## How to Use Anomaly Detection on Your Data

content/tipuesearch/tipuesearch_content.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<%
22
# for now we are using path exclusion scheme
3-
pages = @items.select{ |item| ((%w{article page documentation integration guide}.include? item[:kind]) && !(item.identifier.match('/ja/'))) }.collect{ |item|
3+
pages = @items.select{ |item| ((%w{article page documentation integration guide}.include? item[:kind]) && (item[:beta]!=true) && !(item.identifier.match('/ja/'))) }.collect{ |item|
44
{
55
"title" => item[:title],
66
"text" => Nokogiri::HTML(item.compiled_content).at('body').inner_text,

lib/helpers_.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ def collect_video_items
1313
end
1414

1515
def collect_integration_items
16-
integrations = @items.select { |item| item[:kind] == 'integration' && !(item.identifier.match('/ja/')) }
16+
integrations = @items.select { |item| item[:kind] == 'integration' && (item[:beta]!=true) && !(item.identifier.match('/ja/')) }
1717
integrations.sort_by { |i| i[:integration_title].downcase }
1818
# $all_itegration_items = integrations
1919
end
2020

2121
def collect_guide_items
22-
guides = @items.select{ |item| item[:kind] == 'guide' && item[:listorder] != nil && !(item.identifier.match('/ja/')) }
22+
guides = @items.select{ |item| item[:kind] == 'guide' && item[:listorder] != nil && (item[:beta]!=true) && !(item.identifier.match('/ja/')) }
2323
guides.sort_by { |item| item[:listorder] }
2424
end
2525

@@ -38,12 +38,12 @@ def collect_ja_integration_items
3838
end
3939

4040
def collect_ja_guide_items
41-
guides = @items.select{ |item| item[:kind] == 'guide' && item[:listorder] != nil && item[:language] == 'ja' && item[:translation_status] == "complete" && item.identifier.match('/ja/') }
41+
guides = @items.select{ |item| item[:kind] == 'guide' && item[:listorder] != nil && (item[:beta]!=true) && item[:language] == 'ja' && item[:translation_status] == "complete" && item.identifier.match('/ja/') }
4242
guides.sort_by { |item| item[:listorder] }
4343
end
4444

4545
def ja_guide_items_yet
46-
guides = @items.select{ |item| item[:kind] == 'guide' && item[:listorder] != nil && item[:language] == nil }
46+
guides = @items.select{ |item| item[:kind] == 'guide' && item[:listorder] != nil && (item[:beta]!=true) && item[:language] == nil }
4747
guides_translated = @items.select{ |item| item[:kind] == 'guide' && item[:listorder] != nil && item[:language] == 'ja' && item[:translation_status] == "complete" && item.identifier.match('/ja/') }
4848

4949
guides_translated.each do |jp_content|

0 commit comments

Comments
 (0)