HackMD
    • Sharing Link copied
    • /edit
    • View mode
      • Edit mode
      • View mode
      • Book mode
      • Slide mode
      Edit mode View mode Book mode Slide mode
    • Note Permission
    • Read
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • Write
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • More (Comment, Invitee)
    • Publishing
    • Commenting Enable
      Disabled Forbidden Owners Signed-in users Everyone
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Invitee
    • No invitee
    • Options
    • Versions
    • Transfer ownership
    • Delete this note
    • Template
    • Save as template
    • Insert from template
    • Export
    • Google Drive Export to Google Drive
    • Gist
    • Import
    • Google Drive Import from Google Drive
    • Gist
    • Clipboard
    • Download
    • Markdown
    • HTML
    • Raw HTML
Menu Sharing Help
Menu
Options
Versions Transfer ownership Delete this note
Export
Google Drive Export to Google Drive Gist
Import
Google Drive Import from Google Drive Gist Clipboard
Download
Markdown HTML Raw HTML
Back
Sharing
Sharing Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
More (Comment, Invitee)
Publishing
More (Comment, Invitee)
Commenting Enable
Disabled Forbidden Owners Signed-in users Everyone
Permission
Owners
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Invitee
No invitee
   owned this note    owned this note      
Published Linked with
Like BookmarkBookmarked
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
--- tags: g0v-summit, 2020 --- # Sentry 練習 x Summit 網站工人回顧 在 Summit 開始前,讓我們來聊聊這半年來做 Summit 的感想吧~ 在正式開始前,請先回想這半年來在 Summit 做過的各種事情,無論是寫程式、開會、熬夜趕工、聚餐,無論是開心或是批評都可以,希望每個人都能至少寫一件事情,在[網站檢討](https://g0v.hackmd.io/13d9rRhYRnyMxgZ4zT_YvQ)上 ## Sentry 練習 Sentry 是用來收集各種錯誤訊息的服務,和 Rollbar 類似,不限語言與運作環境,也可綁定常見的 logger ,設定 verbose 多高(error/warn/...)的訊息要倒到 Sentry,注意開發時要關掉 Sentry。 使用 Sentry 時,可以得到幾項好處: - 錯誤集中收納,並可依據發行版本、環境分類,也可綁定 Jira/Github ticket ,方便追蹤與分鐘 - 塞在網頁前端時,可以看到所有 JS exception ,以及錯誤發生前的 XHR 、 routing 紀錄 - 自動統計瀏覽器、作業系統版本,不用再請客戶回報使用環境啦~ - 可以偷塞使用者登入資訊,方便追蹤與辨別錯誤 - 支援常見前端框架,錯誤訊息時,有機會夾帶各框架相關資訊,例如 props value - 開源專案免費升級,沒有每月事件數上限 據說還可以: - 綁定 [source map](https://docs.sentry.io/platforms/javascript/sourcemaps/) ,讓程式碼追蹤更方便 ### 現場解 Sentry Issue ddio 帶大家走過一次 Sentry UI 後,就來認領 issue ,解 Summit 主網站臭蟲,並且分享使用、解 bug 心得吧~ 1. [範例一](https://sentry.io/organizations/g0v-summit-2020/issues/2064144897/?project=5447103&query=is%3Aunresolved) & [相關問題](https://sentry.io/organizations/g0v-summit-2020/issues/2064153034/?project=5447103&query=is%3Aunresolved) 2. [範例二](https://sentry.io/organizations/g0v-summit-2020/issues/2069492001/events/dcbc48fe5df44ed2993628a38e2d9a1e/?project=5447103&query=is%3Aunresolved) #### 使用步驟 0. 每輪 15 分鐘 1. 認領底下任一張 Sentry issue ,標上自己的名字 2. 在 Sentry 頁面了解大致狀況,並使用 Sentry 搜尋,將確定重複的問題,合併成一個 3. 在 Sentry issue 開一張 Github issue ,指派給自己 4. 在 Git 開一個 feature branch 來解問題,送 MR 回來 5. 大家輪流分享 Sentry 使用方式,以及一起 code review ,大家都沒問題,就可以 merge #### Sentry Issue - [ ] `ddio` `/agenda` this.$t(...).filter is not a function / [Sentry link](https://sentry.io/organizations/g0v-summit-2020/issues/2049842651/?project=5447103&query=is%3Aunresolved) - [ ] `/transportation` t is undefined / [Sentry Link ](https://sentry.io/organizations/g0v-summit-2020/issues/2032915641/?project=5447103&query=is%3Aunresolved) - [ ] `/agenda` undefined is not an object (evaluating 'document.getElementsByTagName('video')[0].webkitExitFullScreen') / [Sentry Link](https://sentry.io/organizations/g0v-summit-2020/issues/2031299392/?project=5447103&query=is%3Aunresolved) - [ ] `/agenda` r.matchAll is not a function. (In 'r.matchAll(t)', 'r.matchAll' is undefined) / [Sentry Link](https://sentry.io/organizations/g0v-summit-2020/issues/2002139123/?project=5447103&query=is%3Aunresolved) - [ ] `/agenda` ResizeObserver loop completed with undelivered notifications. / [Sentry Link](https://sentry.io/organizations/g0v-summit-2020/issues/2052721376/?project=5447103&query=is%3Aunresolved&statsPeriod=14d) - [ ] `/agenda` this.$t(...).find is not a function / [Sentry Link](https://sentry.io/organizations/g0v-summit-2020/issues/2047477553/?project=5447103&query=is%3Aunresolved&statsPeriod=14d) - [ ] ==mango== `/agenda` n.forEach is not a function / [Sentry Link](https://sentry.io/organizations/g0v-summit-2020/issues/2047477539/?project=5447103&query=is%3Aunresolved&statsPeriod=14d) - [ ] Chris `/transportation` Cannot read property '_leaflet_pos' of undefined / [Sentry Link](https://sentry.io/organizations/g0v-summit-2020/issues/2046762344/?project=5447103&query=is%3Aunresolved&statsPeriod=14d) - [ ] `lai` `/partners` undefined is not a function (near '...this.partners.reduce...') / [Sentry Link](https://sentry.io/organizations/g0v-summit-2020/issues/2039127484/?project=5447103&query=is%3Aunresolved&statsPeriod=14d) ## 網站工人回顧 分享在[網站檢討](https://g0v.hackmd.io/13d9rRhYRnyMxgZ4zT_YvQ)上的內容,也聊聊 Summit 以外的各種事情。 :::info 以下複製貼上 `網站檢討` ::: {%hackmd 13d9rRhYRnyMxgZ4zT_YvQ %}

Import from clipboard

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lost their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.


Upgrade

All
  • All
  • Team
No template.

Create a template


Upgrade

Delete template

Do you really want to delete this template?

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

Sign in via GitHub

New to HackMD? Sign up

Help

  • English
  • 中文
  • 日本語

Documents

Tutorials

Book Mode Tutorial

Slide Example

YAML Metadata

Resources

Releases

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions

Versions

Upgrade now

Version named by    

More Less
  • Edit
  • Delete

Note content is identical to the latest version.
Compare with
    Choose a version
    No search result
    Version not found

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.