Skip to Content
Graphite监控
book

Graphite监控

by Jason Dixon
October 2020
Intermediate to advanced
261 pages
5h 32m
Chinese
Publishing House of Electronics Industry
Content preview from Graphite监控
226
9
扩展
Graphite
如果你遇到任何错误,它们很可能是由名称过长的对象引起的。
SQLite
的一个缺点是
它不强制执行约束,比如列长。解决的办法是追踪有问题的对象
1
,在旧数据库中把它
们截断到合适的长短(在错误回溯中指定),然后用新的数据导入文件再试一次(参见示
9-14
)。
示例9-14:长对象名称会中断迁移
Problem installing fixture 'initial_data.json': Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/django/core/management/commands/load-
data.py",
line 174, in handle obj.save(using=using)
File "/usr/lib/python2.7/dist-packages/django/core/serializers/base.py", line 165,
in save models.Model.save_base(self.object, using=using, raw=True)
...
...
File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line
735,
in execute_sql cursor.execute(sql, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

写给系统管理员的Python脚本编程指南

写给系统管理员的Python脚本编程指南

Posts & Telecom Press, Ganesh Sanjiv Naik
弱监督学习实用指南

弱监督学习实用指南

Wee Hyong Tok, Amit Bahree, Senja Filipi
精通機器學習

精通機器學習

Aurélien Géron

Publisher Resources

ISBN: 9787121395154