にゃーん

なる人は野辺山の高度でも高山病になるらしいねえ

Bonsaiだと日本語を検索できるのでステージングにBonsaiをくっつけてどう設定されてるか教えてもらえばいいのかな

うーん。Elasticsearchむずかしー

Tokenizerをkuromojiにしてみたら実験用インスタンスのSearchbox Elasticsarchで日本語と英語の検索ができたよ!!

https://github.com/zunda/mastodon/commit/84c61bdbce8fa8dcbcd9fa93891dad0841a1b0ce

さてプロダクション分のインデックスはつくってもらえるでしょーか

Search Japanese on Elasticsearch · zunda/mastodon@84c61bd

だめだあ

Elasticsearch::Transport::Transport::ServerError: [429] {"error_id":"f0836083-4465-4a48-aa18-138786910b79","errors":[{"code":99701,"message":"You have reached your maximum storage size, upgrade your plan for more storage"}]}

いや無料版だと無理ってはなしよね

できた?
2018-02-18T23:10:06.848770+00:00 app[run.2913]: Imported StatusesIndex::Status in 23m 13s, stats: index 804651
2018-02-18T23:10:07.000687+00:00 app[run.2913]: Imported Chewy::Stash::Specification::Specification in 1s, stats: index 1
2018-02-18T23:10:07.000728+00:00 app[run.2913]: Total: 23m 13s

矢野顕子さん「中央線」と「素晴らしい日々」がすき

よーっしお父さんマスターまじマージしちゃうよー

\マスターに/ :saba: \追随しますたー/

Merged tootsuite/mastodon at bb26cdda242afff59f7718b3211732fc068980f1

2018-02-18 14:43:38 Masanori Ogino 𓀁の投稿 omasanori@mstdn.maud.io

2018/2/19→ビッグエンディアン
19/2/2018→リトルエンディアン
2/19/2018→アメリカンミックスドエンディアン

2018-02-18 18:46:46 ぜま🦊クラゲ丼鯖缶の投稿 yi0713@mstdn.jp

このアカウントは、notestockで公開設定になっていません。

Elasticsearch有効にしてからのリトライキューの成長を確認しようと思ったらDatadogにメトリクス行ってませんでしたし。デプロイした時に何か壊れたのかな

ビルドキャッシュを消去していままであったdatadog-agentパッケージの古いバージョンをふっとばしちゃう失態

Starting Datadog Agent on dyno run.9079
flag provided but not defined: -c
Usage of /app/.apt/opt/datadog-agent/bin/agent/agent:
-alsologtostderr
:

これやねえ…
https://github.com/DataDog/heroku-buildpack-datadog/issues/28

export HEROKU_APP=zundan-mastodon-experiment
heroku config:set DD_AGENT_VERSION=6.0.0~beta.9-1_amd64
heroku builds:cache:purge

Pipelineからデプロイ

-----> ERROR: Version "6.0.0~beta.9-1_amd64" was not found.

あー。なおらんかった。

Version 6.0.0-rc.1 of the datadog agent fails to start · Issue #28 · DataDog/heroku-buildpack-datadog

というわけでしばらく欠測はありましたが、Elasticsearchを有効にしてもリトライキューはそんなに育ってはいませんでした https://mastodon.zunda.ninja/media/2Crg8kIwG3avW9gn1Cc

Move -c option behind on execution of the agent command by zunda · Pull Request #29 · DataDog/heroku-buildpack-datadog
2018-02-18 23:27:25 まさらっきの投稿 masarakki@friends.nico

このアカウントは、notestockで公開設定になっていません。

ユーロが