Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

machinist の agent 名を config.js から設定可能に #18

Open
dynamis opened this issue Sep 18, 2019 · 0 comments
Open

machinist の agent 名を config.js から設定可能に #18

dynamis opened this issue Sep 18, 2019 · 0 comments
Assignees
Labels
machinist Machinist 利用に関する問題

Comments

@dynamis
Copy link
Contributor

dynamis commented Sep 18, 2019

現在 agent の指定が "playground" と決め打ちになっている:

return {agent: "playground",

    return {agent: "playground",
	    metrics: metrics};}

私がサンプルで試したときのデータ由来だと思うが、これは「お試し用」って意味なので実際利用するとき向けじゃないので適切な名前を設定可能にすべきだし、そもそもこの手の値委をコード中にハードコードしてはならないので変数に分離する。

意味合いとしては送信元の識別用と言うことなのでとか office とか 剣道場とかの場所、デバイス系の名前にするなら pizero とかそういうのを書くことになると思うが、これを分けることで複数のセンサー、複数の pizero から同じ machinist アカウントにデータを集めることが可能になるはず。そして、複数の場所でのメトリクスの比較などといった用途に使える。

従って、agent は config.js から設定可能にしたい。

@dynamis dynamis added the machinist Machinist 利用に関する問題 label Sep 18, 2019
@kou029w kou029w assigned kou029w and unassigned takashinishio Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
machinist Machinist 利用に関する問題
Projects
None yet
Development

No branches or pull requests

3 participants