投稿

6月, 2023の投稿を表示しています

OpenTelemetry 互換の Observability 基盤比較検討

Cloud Monitoring に雑に Open Telemetry Metric を流したらコストが大爆発したので移行先を探し中. Observability 系の SaaS はどれもコストが大きいので、できれば OSS のものを使いたい. | 名前 | URL | GitHub | サポート | LICENSE | 備考 | 調査日 | | --- | --- | --- | --- | --- | --- | --- | | Cloud Operations Suite | https://cloud.google.com/products/operations | - | Trace,Metric,Log | プロプライエタリ | コスト高 | 2023/06/27 | | DataDog | https://www.datadoghq.com/ja/ | - | Trace,Metric,Log | プロプライエタリ | コスト高 | 2023/06/27 | | OpenObserve | https://openobserve.ai/ | https://github.com/openobserve/openobserve | Trace,Metric | Apache-2.0 license | 調査中 | 2023/06/27 | | Uptrace | https://uptrace.dev/ | https://github.com/uptrace/uptrace | Trace,Metric,Log | Business Source License 1.1,Apache-2.0 license | 調査中 | 2023/06/27 | | SigNoz | https://signoz.io/ | https://github.com/signoz/signoz | Trace,Metric,Log | MIT Expat,The SigNoz Enterprise license | 調査中 | 2023/06/27 |

zap で field 内容の書き換え (センシティブな値をマスクするなど)

自前で Encoder を実装ればいいっぽい. こちらを参照. ref. https://stackoverflow.com/questions/73469128/hide-sensitive-fields-in-uber-zap-go

AWS Lambda の出力するログを tail -f したい

基本形は `aws logs tail --follow` でそこから適当に変える. ```bash aws-vault exec $AWS_PROFILE -- aws logs tail --follow --since 1s /aws/lambda/$LAMBDA_FUNCTION_NAME ```