Bläddra i källkod

[blog] Archive version 4.7 into v4

Romain Rigaux 4 år sedan
förälder
incheckning
e043e04bc9
18 ändrade filer med 85 tillägg och 69 borttagningar
  1. 2 1
      docs/gethue/content/en/posts/2020-01-28-ten-years-data-querying-ux-evolution.md
  2. 2 1
      docs/gethue/content/en/posts/2020-02-10-sql-editor-user-experience.md
  3. 2 1
      docs/gethue/content/en/posts/2020-02-27-using-sql-parser-module.md
  4. 2 1
      docs/gethue/content/en/posts/2020-03-04-collaboration-with-link-and-gist.md
  5. 2 1
      docs/gethue/content/en/posts/2020-03-11-checking-dead-link-automatically-continuous-integration.md
  6. 5 4
      docs/gethue/content/en/posts/2020-04-01-hue-active-users-metric.md
  7. 24 24
      docs/gethue/content/en/posts/2020-04-01-set-up-prometheus-server-without-kubernetes.md
  8. 2 1
      docs/gethue/content/en/posts/2020-04-07-some-4-7-admin-improvements.md
  9. 2 1
      docs/gethue/content/en/posts/2020-04-10-release-hue-4-7.md
  10. 2 1
      docs/gethue/content/jp/posts/2020-01-28-ten-years-data-querying-ux-evolution.md
  11. 4 3
      docs/gethue/content/jp/posts/2020-02-10-sql-editor-user-experience.md
  12. 2 1
      docs/gethue/content/jp/posts/2020-02-27-using-sql-parser-module.md
  13. 2 1
      docs/gethue/content/jp/posts/2020-03-04-collaboration-with-link-and-gist.md
  14. 2 1
      docs/gethue/content/jp/posts/2020-03-11-checking-dead-link-automatically-continuous-integration.md
  15. 3 2
      docs/gethue/content/jp/posts/2020-04-01-hue-active-users-metric.md
  16. 22 22
      docs/gethue/content/jp/posts/2020-04-01-set-up-prometheus-server-without-kubernetes.md
  17. 2 1
      docs/gethue/content/jp/posts/2020-04-07-some-4-7-admin-improvements.md
  18. 3 2
      docs/gethue/content/jp/posts/2020-04-10-release-hue-4-7.md

+ 2 - 1
docs/gethue/content/en/posts/2020-01-28-ten-years-data-querying-ux-evolution.md

@@ -39,7 +39,8 @@ sf_remove_promo_bar:
 ampforwp-amp-on-off:
 ampforwp-amp-on-off:
   - default
   - default
 categories:
 categories:
-  - Version 4.7
+  - Version 4
+#  - Version 4.7
   - Querying
   - Querying
 
 
 ---
 ---

+ 2 - 1
docs/gethue/content/en/posts/2020-02-10-sql-editor-user-experience.md

@@ -39,7 +39,8 @@ sf_remove_promo_bar:
 ampforwp-amp-on-off:
 ampforwp-amp-on-off:
   - default
   - default
 categories:
 categories:
-  - Version 4.7
+  - Version 4
+#  - Version 4.7
   - Querying
   - Querying
 
 
 ---
 ---

+ 2 - 1
docs/gethue/content/en/posts/2020-02-27-using-sql-parser-module.md

@@ -39,7 +39,8 @@ sf_remove_promo_bar:
 ampforwp-amp-on-off:
 ampforwp-amp-on-off:
   - default
   - default
 categories:
 categories:
-  - Version 4.7
+  - Version 4
+#  - Version 4.7
   - Querying
   - Querying
   - Development
   - Development
 
 

+ 2 - 1
docs/gethue/content/en/posts/2020-03-04-collaboration-with-link-and-gist.md

@@ -39,7 +39,8 @@ sf_remove_promo_bar:
 ampforwp-amp-on-off:
 ampforwp-amp-on-off:
   - default
   - default
 categories:
 categories:
-  - Version 4.7
+  - Version 4
+#  - Version 4.7
   - Querying
   - Querying
 
 
 
 

+ 2 - 1
docs/gethue/content/en/posts/2020-03-11-checking-dead-link-automatically-continuous-integration.md

@@ -38,7 +38,8 @@ ampforwp-amp-on-off:
   - default
   - default
 categories:
 categories:
   - Administration
   - Administration
-  - Version 4.7
+  - Version 4
+#  - Version 4.7
 
 
 ---
 ---
 
 

+ 5 - 4
docs/gethue/content/en/posts/2020-04-01-hue-active-users-metric.md

@@ -38,17 +38,18 @@ ampforwp-amp-on-off:
   - default
   - default
 categories:
 categories:
   - Administration
   - Administration
-  - Version 4.7
+  - Version 4
+#  - Version 4.7
 
 
 ---
 ---
 
 
 
 
-To understand the performance of Hue, we want to know how many active users in Hue--and more specifically--how many on each host. An active user is who sends requests from his/her browser to the Hue server in the last one hour. Recently, Hue got some improvements for providing and displaying better metrics. 
+To understand the performance of Hue, we want to know how many active users in Hue--and more specifically--how many on each host. An active user is who sends requests from his/her browser to the Hue server in the last one hour. Recently, Hue got some improvements for providing and displaying better metrics.
 
 
-1. On premise, Hue is using [PyFormance](https://gethue.com/easier-administration-of-hue-with-the-new-threads-and-metrics-pages/) implements /desktop/metrics endpoint. Cloudera Manager collects data via the endpoint and displays the metric “Active Users” in the Charts Library, but all hosts show the same number of active users. With [HUE-9210](https://issues.cloudera.org/browse/HUE-9210), the active users metric on each host is collected based on its hostname (see screenshot).  
+1. On premise, Hue is using [PyFormance](https://gethue.com/easier-administration-of-hue-with-the-new-threads-and-metrics-pages/) implements /desktop/metrics endpoint. Cloudera Manager collects data via the endpoint and displays the metric “Active Users” in the Charts Library, but all hosts show the same number of active users. With [HUE-9210](https://issues.cloudera.org/browse/HUE-9210), the active users metric on each host is collected based on its hostname (see screenshot).
 
 
 	![cm_active_users.png](https://cdn.gethue.com/uploads/2020/04/cm_active_users.png)
 	![cm_active_users.png](https://cdn.gethue.com/uploads/2020/04/cm_active_users.png)
-	
+
 	Here we can see three users on the blue Hue API server role and one on the green
 	Here we can see three users on the blue Hue API server role and one on the green
 
 
 2. In Kubernetes, Hue is using [django-prometheus](https://gethue.com/collecting-hue-metrics-with-prometheus-in-kubernetes/) to implement endpoint /metrics. With [HUE-9194](https://issues.cloudera.org/browse/HUE-9194), we added two new active users metrics to display in Prometheus server. You may [set up your Prometheus server](https://gethue.com/set-up-prometheus-server-without-kubernetes/) without Kubernetes. Once setup is done and the server is started, open your browser at localhost:9090. From the drop down menu of metrics, you may find hue_active_users and hue_local_active_users.
 2. In Kubernetes, Hue is using [django-prometheus](https://gethue.com/collecting-hue-metrics-with-prometheus-in-kubernetes/) to implement endpoint /metrics. With [HUE-9194](https://issues.cloudera.org/browse/HUE-9194), we added two new active users metrics to display in Prometheus server. You may [set up your Prometheus server](https://gethue.com/set-up-prometheus-server-without-kubernetes/) without Kubernetes. Once setup is done and the server is started, open your browser at localhost:9090. From the drop down menu of metrics, you may find hue_active_users and hue_local_active_users.

+ 24 - 24
docs/gethue/content/en/posts/2020-04-01-set-up-prometheus-server-without-kubernetes.md

@@ -38,7 +38,8 @@ ampforwp-amp-on-off:
   - default
   - default
 categories:
 categories:
   - Administration
   - Administration
-  - Version 4.7
+  - Version 4
+#  - Version 4.7
 
 
 ---
 ---
 
 
@@ -47,102 +48,102 @@ To taste Hue prometheus metrics, you may set up a Prometheus server to scrape th
 **Prerequisites**: a Hue server running at localhost:8000.
 **Prerequisites**: a Hue server running at localhost:8000.
 
 
 1. Create a service user
 1. Create a service user
-	
+
 	```console
 	```console
 	$ sudo useradd --no-create-home --shell /bin/false prometheus
 	$ sudo useradd --no-create-home --shell /bin/false prometheus
 	```
 	```
 2. Create a directory in /etc for Prometheus’ configuration files and a directory in /var/lib for its data
 2. Create a directory in /etc for Prometheus’ configuration files and a directory in /var/lib for its data
-	
+
 	```console
 	```console
 	$ sudo mkdir /etc/prometheus
 	$ sudo mkdir /etc/prometheus
 	$ sudo mkdir /var/lib/prometheus
 	$ sudo mkdir /var/lib/prometheus
 	```
 	```
 3. Set the user and group ownership on the new directories to the prometheus user
 3. Set the user and group ownership on the new directories to the prometheus user
-	
+
 	```console
 	```console
 	$ sudo chown prometheus:prometheus /etc/prometheus
 	$ sudo chown prometheus:prometheus /etc/prometheus
 	$ sudo chown prometheus:prometheus /var/lib/prometheus
 	$ sudo chown prometheus:prometheus /var/lib/prometheus
 	```
 	```
 4. Download Prometheus binary from [https://prometheus.io/download/](https://prometheus.io/download/)
 4. Download Prometheus binary from [https://prometheus.io/download/](https://prometheus.io/download/)
-	
+
 	```console
 	```console
 	$ cd ~/Downloads
 	$ cd ~/Downloads
 	$ curl -LO https://github.com/prometheus/prometheus/releases/download/v2.16.0/prometheus-2.16.0.linux-amd64.tar.gz
 	$ curl -LO https://github.com/prometheus/prometheus/releases/download/v2.16.0/prometheus-2.16.0.linux-amd64.tar.gz
 	```
 	```
 5. Validate checksum value with download
 5. Validate checksum value with download
-	
+
 	```console
 	```console
-	$ Sha256sum prometheus-2.16.0.linux-amd64.tar.gz 
+	$ Sha256sum prometheus-2.16.0.linux-amd64.tar.gz
 	```
 	```
-6. Unpack the downloaded archive 
-	
+6. Unpack the downloaded archive
+
 	```console
 	```console
 	$ tar xvf prometheus-2.16.0.linux-amd64.tar.gz
 	$ tar xvf prometheus-2.16.0.linux-amd64.tar.gz
 	```
 	```
 7. Copy the two binaries to the /usr/local/bin directory
 7. Copy the two binaries to the /usr/local/bin directory
-	
+
 	```console
 	```console
 	$ sudo cp prometheus-2.16.0.linux-amd64/prometheus /usr/local/bin/
 	$ sudo cp prometheus-2.16.0.linux-amd64/prometheus /usr/local/bin/
 	$ sudo cp prometheus-2.16.0.linux-amd64/promtool /usr/local/bin/
 	$ sudo cp prometheus-2.16.0.linux-amd64/promtool /usr/local/bin/
 	```
 	```
 8. Copy the consoles and console_libraries directories to /etc/prometheus.
 8. Copy the consoles and console_libraries directories to /etc/prometheus.
-	
+
 	```console
 	```console
 	$ sudo cp -r prometheus-2.16.0.linux-amd64/consoles /etc/prometheus
 	$ sudo cp -r prometheus-2.16.0.linux-amd64/consoles /etc/prometheus
 	$ sudo cp -r prometheus-2.16.0.linux-amd64/console_libraries /etc/prometheus
 	$ sudo cp -r prometheus-2.16.0.linux-amd64/console_libraries /etc/prometheus
 	```
 	```
 9. Set the user and group ownership on the directories to the prometheus user. Using the -R flag will ensure that ownership is set on the files inside the directory as well.
 9. Set the user and group ownership on the directories to the prometheus user. Using the -R flag will ensure that ownership is set on the files inside the directory as well.
-	
+
 	```console
 	```console
 	$ sudo chown -R prometheus:prometheus /etc/prometheus/consoles
 	$ sudo chown -R prometheus:prometheus /etc/prometheus/consoles
 	$ sudo chown -R prometheus:prometheus /etc/prometheus/console_libraries
 	$ sudo chown -R prometheus:prometheus /etc/prometheus/console_libraries
 	```
 	```
 10. Remove the leftover files from your downloads folder
 10. Remove the leftover files from your downloads folder
-	
+
 	```console
 	```console
 	$ rm -rf prometheus-2.16.0.linux-amd64.tar.gz prometheus-2.16.0.linux-amd64
 	$ rm -rf prometheus-2.16.0.linux-amd64.tar.gz prometheus-2.16.0.linux-amd64
 	```
 	```
 11. Create a configuration file named prometheus.yml
 11. Create a configuration file named prometheus.yml
-	
+
 	```console
 	```console
 	$ vi /etc/prometheus/prometheus.yml
 	$ vi /etc/prometheus/prometheus.yml
 	```
 	```
 
 
 	Content of prometheus.yml, port 8000 is your Hue server port, and change it if needed.
 	Content of prometheus.yml, port 8000 is your Hue server port, and change it if needed.
-	
+
 	```console
 	```console
 	global:
 	global:
 	  scrape_interval: 15s
 	  scrape_interval: 15s
-	 
+
 	scrape_configs:
 	scrape_configs:
 	  - job_name: 'prometheus'
 	  - job_name: 'prometheus'
 	    scrape_interval: 5s
 	    scrape_interval: 5s
 	    static_configs:
 	    static_configs:
 	      - targets: ['localhost:9090']
 	      - targets: ['localhost:9090']
-	 
+
 	  - job_name: 'hue'
 	  - job_name: 'hue'
 	    scrape_interval: 5s
 	    scrape_interval: 5s
 	    static_configs:
 	    static_configs:
 	      - targets: ['localhost:8000']
 	      - targets: ['localhost:8000']
 	```
 	```
 12. Set the user and group ownership on the configuration file to the prometheus user
 12. Set the user and group ownership on the configuration file to the prometheus user
-	
+
 	```console
 	```console
 	$ sudo chown prometheus:prometheus /etc/prometheus/prometheus.yml
 	$ sudo chown prometheus:prometheus /etc/prometheus/prometheus.yml
 	```
 	```
 13. Create a new systemd service file.
 13. Create a new systemd service file.
-	
+
 	```console
 	```console
 	$ vi /etc/systemd/system/prometheus.service
 	$ vi /etc/systemd/system/prometheus.service
 	```
 	```
 	Content of service file
 	Content of service file
-	
+
 	```console
 	```console
 	[Unit]
 	[Unit]
 	Description=Prometheus
 	Description=Prometheus
 	Wants=network-online.target
 	Wants=network-online.target
 	After=network-online.target
 	After=network-online.target
-	
+
 	[Service]
 	[Service]
 	User=prometheus
 	User=prometheus
 	Group=prometheus
 	Group=prometheus
@@ -152,12 +153,12 @@ To taste Hue prometheus metrics, you may set up a Prometheus server to scrape th
 	    --storage.tsdb.path /var/lib/prometheus/ \
 	    --storage.tsdb.path /var/lib/prometheus/ \
 	    --web.console.templates=/etc/prometheus/consoles \
 	    --web.console.templates=/etc/prometheus/consoles \
 	    --web.console.libraries=/etc/prometheus/console_libraries
 	    --web.console.libraries=/etc/prometheus/console_libraries
-	
+
 	[Install]
 	[Install]
 	WantedBy=multi-user.target
 	WantedBy=multi-user.target
 	```
 	```
 14. To use the newly created service, reload and start systemd.
 14. To use the newly created service, reload and start systemd.
-	
+
 	```console
 	```console
 	$ sudo systemctl daemon-reload
 	$ sudo systemctl daemon-reload
 	$ sudo systemctl start prometheus
 	$ sudo systemctl start prometheus
@@ -170,4 +171,3 @@ Any feedback or questions? Feel free to comment here or on the [Forum](https://d
 
 
 
 
 Ying Chen from the Hue Team
 Ying Chen from the Hue Team
-

+ 2 - 1
docs/gethue/content/en/posts/2020-04-07-some-4-7-admin-improvements.md

@@ -39,7 +39,8 @@ sf_remove_promo_bar:
 ampforwp-amp-on-off:
 ampforwp-amp-on-off:
   - default
   - default
 categories:
 categories:
-  - Version 4.7
+  - Version 4
+#  - Version 4.7
   - Administration
   - Administration
 
 
 ---
 ---

+ 2 - 1
docs/gethue/content/en/posts/2020-04-10-release-hue-4-7.md

@@ -39,7 +39,8 @@ sf_remove_promo_bar:
 ampforwp-amp-on-off:
 ampforwp-amp-on-off:
   - default
   - default
 categories:
 categories:
-  - Version 4.7
+  - Version 4
+#  - Version 4.7
   - Release
   - Release
 
 
 ---
 ---

+ 2 - 1
docs/gethue/content/jp/posts/2020-01-28-ten-years-data-querying-ux-evolution.md

@@ -39,7 +39,8 @@ sf_remove_promo_bar:
 ampforwp-amp-on-off:
 ampforwp-amp-on-off:
   - default
   - default
 categories:
 categories:
-  - Version 4.7
+  - Version 4
+#  - Version 4.7
   - Querying
   - Querying
 
 
 ---
 ---

+ 4 - 3
docs/gethue/content/jp/posts/2020-02-10-sql-editor-user-experience.md

@@ -39,7 +39,8 @@ sf_remove_promo_bar:
 ampforwp-amp-on-off:
 ampforwp-amp-on-off:
   - default
   - default
 categories:
 categories:
-  - Version 4.7
+  - Version 4
+#  - Version 4.7
   - Querying
   - Querying
 
 
 ---
 ---
@@ -211,7 +212,7 @@ FROM句に複数のテーブル(派生テーブルや結合済みのテーブル
 
 
 **スマートなキーワードの補完**
 **スマートなキーワードの補完**
 
 
-オートコンプリーターは、ステートメント内のカーソルの位置に基づいてキーワードを提案します。可能であれば、IF NOT EXISTS のように一度に複数の単語を提案することもあります。誰もたくさん入力したくないでしょう? 
+オートコンプリーターは、ステートメント内のカーソルの位置に基づいてキーワードを提案します。可能であれば、IF NOT EXISTS のように一度に複数の単語を提案することもあります。誰もたくさん入力したくないでしょう?
 
 
 **関数**
 **関数**
 
 
@@ -387,7 +388,7 @@ Google Document と同様に、クエリは他のユーザーやグループと
 **注**: 一般向けのリンクと Gist での共有は、次の Hue 4.7 でリリースされる予定です!
 **注**: 一般向けのリンクと Gist での共有は、次の Hue 4.7 でリリースされる予定です!
 
 
 
 
-## 次のステップ (SQL) 
+## 次のステップ (SQL)
 
 
 2020 年に Hue 5 および拡張された SQL Cloud エディタが登場し、より新しいデータクエリ体験が実現します。[Cloudera Cloud Data Warehouse](https://www.cloudera.com/products/data-warehouse.html) では、データウェアハウス専用の Hue もリリースされました。
 2020 年に Hue 5 および拡張された SQL Cloud エディタが登場し、より新しいデータクエリ体験が実現します。[Cloudera Cloud Data Warehouse](https://www.cloudera.com/products/data-warehouse.html) では、データウェアハウス専用の Hue もリリースされました。
 
 

+ 2 - 1
docs/gethue/content/jp/posts/2020-02-27-using-sql-parser-module.md

@@ -39,7 +39,8 @@ sf_remove_promo_bar:
 ampforwp-amp-on-off:
 ampforwp-amp-on-off:
   - default
   - default
 categories:
 categories:
-  - Version 4.7
+  - Version 4
+#  - Version 4.7
   - Querying
   - Querying
   - Development
   - Development
 
 

+ 2 - 1
docs/gethue/content/jp/posts/2020-03-04-collaboration-with-link-and-gist.md

@@ -39,7 +39,8 @@ sf_remove_promo_bar:
 ampforwp-amp-on-off:
 ampforwp-amp-on-off:
   - default
   - default
 categories:
 categories:
-  - Version 4.7
+  - Version 4
+#  - Version 4.7
   - Querying
   - Querying
 
 
 
 

+ 2 - 1
docs/gethue/content/jp/posts/2020-03-11-checking-dead-link-automatically-continuous-integration.md

@@ -38,7 +38,8 @@ ampforwp-amp-on-off:
   - default
   - default
 categories:
 categories:
   - Administration
   - Administration
-  - Version 4.7
+  - Version 4
+#  - Version 4.7
 
 
 ---
 ---
 
 

+ 3 - 2
docs/gethue/content/jp/posts/2020-04-01-hue-active-users-metric.md

@@ -38,7 +38,8 @@ ampforwp-amp-on-off:
   - default
   - default
 categories:
 categories:
   - Administration
   - Administration
-  - Version 4.7
+  - Version 4
+#  - Version 4.7
 
 
 ---
 ---
 
 
@@ -48,7 +49,7 @@ Hue のパフォーマンスを理解するために、Hue のアクティブユ
 1. オンプレミスでは、Hue は [PyFormance](https://gethue.com/easier-administration-of-hue-with-the-new-threads-and-metrics-pages/) を使用して /desktop/metrics エンドポイントを実装しています。Cloudera Manager はエンドポイント経由でデータを収集し、チャートライブラリに「Active Users」メトリクスを表示しますが、どのホストも同じ数のアクティブユーザーを表示しています。[HUE-9210](https://issues.cloudera.org/browse/HUE-9210) では、各ホストのアクティブユーザーのメトリクスは、ホスト名に基づいて収集されています。 (スクリーンショットを参照してください)
 1. オンプレミスでは、Hue は [PyFormance](https://gethue.com/easier-administration-of-hue-with-the-new-threads-and-metrics-pages/) を使用して /desktop/metrics エンドポイントを実装しています。Cloudera Manager はエンドポイント経由でデータを収集し、チャートライブラリに「Active Users」メトリクスを表示しますが、どのホストも同じ数のアクティブユーザーを表示しています。[HUE-9210](https://issues.cloudera.org/browse/HUE-9210) では、各ホストのアクティブユーザーのメトリクスは、ホスト名に基づいて収集されています。 (スクリーンショットを参照してください)
 
 
 	![cm_active_users.png](https://cdn.gethue.com/uploads/2020/04/cm_active_users.png)
 	![cm_active_users.png](https://cdn.gethue.com/uploads/2020/04/cm_active_users.png)
-	
+
 ここでは、Hue API サーバーロールに青色の3人のユーザーと、別のサーバーロールに緑色の1人のユーザーがいることがわかります。
 ここでは、Hue API サーバーロールに青色の3人のユーザーと、別のサーバーロールに緑色の1人のユーザーがいることがわかります。
 
 
 2. Kubernetesでは、Hue は [django-prometheus](https://gethue.com/collecting-hue-metrics-with-prometheus-in-kubernetes/) を使用してエンドポイント/メトリクスを実装しています。[HUE-9194](https://issues.cloudera.org/browse/HUE-9194) では、Prometheus サーバーに表示するための2つの新しいアクティブユーザーのメトリクスを追加しました。Kubernetes を使用せずに[Prometheus サーバーをセットアップ](https://gethue.com/set-up-prometheus-server-without-kubernetes/) しても構いません。設定が完了してサーバーが開始したら、ブラウザで localhost:9090 を開きます。メトリクスのドロップダウンメニューで hue_active_users と hue_local_active_users を見つけることができます。
 2. Kubernetesでは、Hue は [django-prometheus](https://gethue.com/collecting-hue-metrics-with-prometheus-in-kubernetes/) を使用してエンドポイント/メトリクスを実装しています。[HUE-9194](https://issues.cloudera.org/browse/HUE-9194) では、Prometheus サーバーに表示するための2つの新しいアクティブユーザーのメトリクスを追加しました。Kubernetes を使用せずに[Prometheus サーバーをセットアップ](https://gethue.com/set-up-prometheus-server-without-kubernetes/) しても構いません。設定が完了してサーバーが開始したら、ブラウザで localhost:9090 を開きます。メトリクスのドロップダウンメニューで hue_active_users と hue_local_active_users を見つけることができます。

+ 22 - 22
docs/gethue/content/jp/posts/2020-04-01-set-up-prometheus-server-without-kubernetes.md

@@ -38,7 +38,8 @@ ampforwp-amp-on-off:
   - default
   - default
 categories:
 categories:
   - Administration
   - Administration
-  - Version 4.7
+  - Version 4
+#  - Version 4.7
 
 
 ---
 ---
 
 
@@ -47,92 +48,92 @@ Hue prometheus のメトリクスを味わうには、Hue Server 上の [metrics
 **前提条件**: Hue server は localhost:8000 で実行されていること
 **前提条件**: Hue server は localhost:8000 で実行されていること
 
 
 1. サービスユーザーを作成します
 1. サービスユーザーを作成します
-	
+
 ```console
 ```console
 	$ sudo useradd --no-create-home --shell /bin/false prometheus
 	$ sudo useradd --no-create-home --shell /bin/false prometheus
 ```
 ```
 
 
 2. Prometheus の設定ファイル用に /etc にディレクトリを作成し、/var/lib にデータ用のディレクトリを作成します
 2. Prometheus の設定ファイル用に /etc にディレクトリを作成し、/var/lib にデータ用のディレクトリを作成します
-	
+
 ```console
 ```console
 	$ sudo mkdir /etc/prometheus
 	$ sudo mkdir /etc/prometheus
 	$ sudo mkdir /var/lib/prometheus
 	$ sudo mkdir /var/lib/prometheus
 ```
 ```
 3. 新しいディレクトリのユーザーとグループを prometheus ユーザーに設定します
 3. 新しいディレクトリのユーザーとグループを prometheus ユーザーに設定します
-	
+
 ```console
 ```console
 	$ sudo chown prometheus:prometheus /etc/prometheus
 	$ sudo chown prometheus:prometheus /etc/prometheus
 	$ sudo chown prometheus:prometheus /var/lib/prometheus
 	$ sudo chown prometheus:prometheus /var/lib/prometheus
 ```
 ```
 4. Prometheus のバイナリを [https://prometheus.io/download/](https://prometheus.io/download/) からダウンロードします
 4. Prometheus のバイナリを [https://prometheus.io/download/](https://prometheus.io/download/) からダウンロードします
-	
+
 ```console
 ```console
 	$ cd ~/Downloads
 	$ cd ~/Downloads
 	$ curl -LO https://github.com/prometheus/prometheus/releases/download/v2.16.0/prometheus-2.16.0.linux-amd64.tar.gz
 	$ curl -LO https://github.com/prometheus/prometheus/releases/download/v2.16.0/prometheus-2.16.0.linux-amd64.tar.gz
 ```
 ```
 5. チェックサムを検証します
 5. チェックサムを検証します
-	
+
 ```console
 ```console
-	$ Sha256sum prometheus-2.16.0.linux-amd64.tar.gz 
+	$ Sha256sum prometheus-2.16.0.linux-amd64.tar.gz
 ```
 ```
 6. ダウンロードしたアーカイブを解凍します
 6. ダウンロードしたアーカイブを解凍します
-	
+
 ```console
 ```console
 	$ tar xvf prometheus-2.16.0.linux-amd64.tar.gz
 	$ tar xvf prometheus-2.16.0.linux-amd64.tar.gz
 ```
 ```
 7. 2つのバイナリを /usr/local/bin ディレクトリにコピーします
 7. 2つのバイナリを /usr/local/bin ディレクトリにコピーします
-	
+
 ```console
 ```console
 	$ sudo cp prometheus-2.16.0.linux-amd64/prometheus /usr/local/bin/
 	$ sudo cp prometheus-2.16.0.linux-amd64/prometheus /usr/local/bin/
 	$ sudo cp prometheus-2.16.0.linux-amd64/promtool /usr/local/bin/
 	$ sudo cp prometheus-2.16.0.linux-amd64/promtool /usr/local/bin/
 ```
 ```
 8. consoles と console_libraries ディレクトリを /etc/prometheus にコピーします
 8. consoles と console_libraries ディレクトリを /etc/prometheus にコピーします
-	
+
 ```console
 ```console
 	$ sudo cp -r prometheus-2.16.0.linux-amd64/consoles /etc/prometheus
 	$ sudo cp -r prometheus-2.16.0.linux-amd64/consoles /etc/prometheus
 	$ sudo cp -r prometheus-2.16.0.linux-amd64/console_libraries /etc/prometheus
 	$ sudo cp -r prometheus-2.16.0.linux-amd64/console_libraries /etc/prometheus
 ```
 ```
 9. ディレクトリのユーザーとグループを prometheus ユーザーに設定します。-R フラグを使用して、ディレクトリ内のファイルにも所有者が設定されるようにしてください
 9. ディレクトリのユーザーとグループを prometheus ユーザーに設定します。-R フラグを使用して、ディレクトリ内のファイルにも所有者が設定されるようにしてください
-	
+
 ```console
 ```console
 	$ sudo chown -R prometheus:prometheus /etc/prometheus/consoles
 	$ sudo chown -R prometheus:prometheus /etc/prometheus/consoles
 	$ sudo chown -R prometheus:prometheus /etc/prometheus/console_libraries
 	$ sudo chown -R prometheus:prometheus /etc/prometheus/console_libraries
 ```
 ```
 10. ダウンロードしたフォルダから残りのファイルを削除します
 10. ダウンロードしたフォルダから残りのファイルを削除します
-	
+
 ```console
 ```console
 	$ rm -rf prometheus-2.16.0.linux-amd64.tar.gz prometheus-2.16.0.linux-amd64
 	$ rm -rf prometheus-2.16.0.linux-amd64.tar.gz prometheus-2.16.0.linux-amd64
 ```
 ```
 11. prometheus.yml という名前の設定ファイルを作成します
 11. prometheus.yml という名前の設定ファイルを作成します
-	
+
 ```console
 ```console
 	$ vi /etc/prometheus/prometheus.yml
 	$ vi /etc/prometheus/prometheus.yml
 ```
 ```
 
 
 prometheus.yml の port 8000 は Hue server のポートです。必要に応じて変更してください。
 prometheus.yml の port 8000 は Hue server のポートです。必要に応じて変更してください。
-	
+
 ```console
 ```console
 	global:
 	global:
 	  scrape_interval: 15s
 	  scrape_interval: 15s
-	 
+
 	scrape_configs:
 	scrape_configs:
 	  - job_name: 'prometheus'
 	  - job_name: 'prometheus'
 	    scrape_interval: 5s
 	    scrape_interval: 5s
 	    static_configs:
 	    static_configs:
 	      - targets: ['localhost:9090']
 	      - targets: ['localhost:9090']
-	 
+
 	  - job_name: 'hue'
 	  - job_name: 'hue'
 	    scrape_interval: 5s
 	    scrape_interval: 5s
 	    static_configs:
 	    static_configs:
 	      - targets: ['localhost:8000']
 	      - targets: ['localhost:8000']
 ```
 ```
 12. 設定ファイルのユーザーとグループを prometheus ユーザーに設定します
 12. 設定ファイルのユーザーとグループを prometheus ユーザーに設定します
-	
+
 ```console
 ```console
 	$ sudo chown prometheus:prometheus /etc/prometheus/prometheus.yml
 	$ sudo chown prometheus:prometheus /etc/prometheus/prometheus.yml
 ```
 ```
 13. 新しい systemd サービスファイルを作成します
 13. 新しい systemd サービスファイルを作成します
-	
+
 ```console
 ```console
 	$ vi /etc/systemd/system/prometheus.service
 	$ vi /etc/systemd/system/prometheus.service
 ```
 ```
@@ -143,7 +144,7 @@ prometheus.yml の port 8000 は Hue server のポートです。必要に応じ
 	Description=Prometheus
 	Description=Prometheus
 	Wants=network-online.target
 	Wants=network-online.target
 	After=network-online.target
 	After=network-online.target
-	
+
 	[Service]
 	[Service]
 	User=prometheus
 	User=prometheus
 	Group=prometheus
 	Group=prometheus
@@ -153,13 +154,13 @@ prometheus.yml の port 8000 は Hue server のポートです。必要に応じ
 	    --storage.tsdb.path /var/lib/prometheus/ \
 	    --storage.tsdb.path /var/lib/prometheus/ \
 	    --web.console.templates=/etc/prometheus/consoles \
 	    --web.console.templates=/etc/prometheus/consoles \
 	    --web.console.libraries=/etc/prometheus/console_libraries
 	    --web.console.libraries=/etc/prometheus/console_libraries
-	
+
 	[Install]
 	[Install]
 	WantedBy=multi-user.target
 	WantedBy=multi-user.target
 ```
 ```
 
 
 14. 新しく作成したサービを使用して、systemd をリロードして開始します。
 14. 新しく作成したサービを使用して、systemd をリロードして開始します。
-	
+
 ```console
 ```console
 	$ sudo systemctl daemon-reload
 	$ sudo systemctl daemon-reload
 	$ sudo systemctl start prometheus
 	$ sudo systemctl start prometheus
@@ -172,4 +173,3 @@ prometheus.yml の port 8000 は Hue server のポートです。必要に応じ
 
 
 
 
 Ying Chen from the Hue Team
 Ying Chen from the Hue Team
-

+ 2 - 1
docs/gethue/content/jp/posts/2020-04-07-some-4-7-admin-improvements.md

@@ -39,7 +39,8 @@ sf_remove_promo_bar:
 ampforwp-amp-on-off:
 ampforwp-amp-on-off:
   - default
   - default
 categories:
 categories:
-  - Version 4.7
+  - Version 4
+#  - Version 4.7
   - Administration
   - Administration
 
 
 ---
 ---

+ 3 - 2
docs/gethue/content/jp/posts/2020-04-10-release-hue-4-7.md

@@ -39,7 +39,8 @@ sf_remove_promo_bar:
 ampforwp-amp-on-off:
 ampforwp-amp-on-off:
   - default
   - default
 categories:
 categories:
-  - Version 4.7
+  - Version 4
+#  - Version 4.7
   - Release
   - Release
 
 
 ---
 ---
@@ -115,7 +116,7 @@ Hue チームは全ての貢献者に感謝し、Hue 4.7 のリリースを喜
 ## インフラ
 ## インフラ
 
 
 * [Azure ABFS filesystem](https://gethue.com/integration-with-microsoft-azure-data-lake-store-gen2/) を正式にサポート
 * [Azure ABFS filesystem](https://gethue.com/integration-with-microsoft-azure-data-lake-store-gen2/) を正式にサポート
-* 継続的統合(CI)は[docs.gethue.com](https://docs.gethue.com/)の[リンク切れをチェック](https://jp.gethue.com/checking-dead-links-automatically-continuous-integration/) 
+* 継続的統合(CI)は[docs.gethue.com](https://docs.gethue.com/)の[リンク切れをチェック](https://jp.gethue.com/checking-dead-links-automatically-continuous-integration/)
 * Python 3: 対応作業が進行中。コンパイルとフィードバックの送信方法:
 * Python 3: 対応作業が進行中。コンパイルとフィードバックの送信方法:
   ```
   ```
   export PYTHON_VER=python3.6
   export PYTHON_VER=python3.6