-
Notifications
You must be signed in to change notification settings - Fork 0
/
Support.textexpander
1203 lines (1179 loc) · 39.9 KB
/
Support.textexpander
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>groupInfo</key>
<dict>
<key>expandAfterMode</key>
<integer>0</integer>
<key>groupName</key>
<string>Support</string>
</dict>
<key>snippetsTE2</key>
<array>
<dict>
<key>abbreviation</key>
<string>;sslend</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-04-28T22:12:27Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2014-04-28T22:12:41Z</date>
<key>modificationDate</key>
<date>2015-01-07T17:42:12Z</date>
<key>plainText</key>
<string>The SSL endpoint simply provides another entry point into the Heroku routing layer that serves a certificate file you specify. The SSL endpoint uses your certificate to encrypt and decrypt your traffic, then sends it into the Heroku routing layer, where `heroku domains` controls how it's routed. If you have several different Heroku apps that each have multiple domain names:
1. **For traffic coming to any of your domain names (e.g. `www.foo.com`), you should use `heroku domains:add` to specify at which Heroku app that traffic should eventually arrive.** So if you own `www.foo.com`, you should use `heroku domains:add www.foo.com -a my_foo_app` to make sure requests for `www.foo.com` get sent to `my_foo_app`.
2. **You should create a single SSL endpoint for each SSL certificate you want to use.** If you have a single certificate for each of your domain names, you'll need a separate SSL endpoint for each (and each Heroku app can only have a single SSL endpoint). If you have a single certificate that covers all your domain names (wildcard, multi-cert, or otherwise), you only need one SSL endpoint, and it can be on any of your apps.
3. **To serve traffic to `www.foo.com` via HTTPS, create a CNAME record for `www` on `foo.com` that points to *any Heroku SSL endpoint* with a certificate for that domain name.** This means that if you have a single certificate on an endpoint `shiba-1234.herokussl.com` that covers many different domain names (and therefore many different Heroku apps), all of those domains should have CNAME records that point to `shiba-1234.herokussl.com`.
</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>0</integer>
<key>uuidString</key>
<string>C4F18E1C-CD9B-460E-9F99-FF3BB4175D50</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;gist</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-04-02T17:45:40Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string>gist link pls</string>
<key>lastUsed</key>
<date>2014-04-23T18:12:14Z</date>
<key>modificationDate</key>
<date>2014-04-02T17:46:09Z</date>
<key>plainText</key>
<string>Hi,
Can you paste the contents of your .crt file in a [gist](https://gist.github.com/) and send me the link?
Thanks,
Chad</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>1</integer>
<key>uuidString</key>
<string>3FF98D79-EFCE-4146-AA16-66FAB14D93A4</string>
</dict>
<dict>
<key>abbreviation</key>
<string></string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-02-21T17:28:44Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>modificationDate</key>
<date>2014-02-21T17:29:19Z</date>
<key>plainText</key>
<string>[%filltext:name=Link Text:default=here%]()</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>0</integer>
<key>uuidString</key>
<string>83BA2BCB-3418-4A7B-B1E3-018699F53014</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;close</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-02-14T21:12:29Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string>close closing</string>
<key>lastUsed</key>
<date>2015-01-15T16:38:37Z</date>
<key>modificationDate</key>
<date>2014-02-14T21:13:05Z</date>
<key>plainText</key>
<string>If you have any other questions, you're always welcome to open a new ticket at [help.heroku.com](https://help.heroku.com). Thanks!
-Chad</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>50</integer>
<key>uuidString</key>
<string>DE975685-7BB1-41CE-A8B6-A077252208F4</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;tc</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-02-07T18:17:47Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string>thankschad</string>
<key>lastUsed</key>
<date>2015-01-26T21:30:41Z</date>
<key>modificationDate</key>
<date>2014-02-07T18:17:58Z</date>
<key>plainText</key>
<string>Thanks,
Chad
</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>817</integer>
<key>uuidString</key>
<string>4544BDDA-BFDE-41FA-AC4F-24C3D2817081</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;lib</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-02-04T22:15:44Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2015-01-13T21:16:25Z</date>
<key>modificationDate</key>
<date>2014-09-29T21:55:07Z</date>
<key>plainText</key>
<string>[Librato](https://addons.heroku.com/librato)</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>12</integer>
<key>uuidString</key>
<string>3CEB234B-650A-44D5-996A-28B79634A6AC</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;lrm</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-02-04T22:15:20Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string>log-runtime-metrics</string>
<key>modificationDate</key>
<date>2014-02-04T22:15:37Z</date>
<key>plainText</key>
<string>[log-runtime-metrics](https://devcenter.heroku.com/articles/log-runtime-metrics)</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>0</integer>
<key>uuidString</key>
<string>1E0D715B-DC46-4BBB-A37C-8961A131185B</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;llm</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-02-04T20:51:22Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string>lucky link</string>
<key>lastUsed</key>
<date>2014-06-09T19:58:15Z</date>
<key>modificationDate</key>
<date>2014-02-21T17:48:26Z</date>
<key>plainText</key>
<string>#!/bin/bash
source ~/.bashrc; ~/Scripts/glucky-markdown.rb "%filltext:name=Link Text:default=Link Text%" "%filltext:name=Search Text:default=Search Term%"
</string>
<key>snippetType</key>
<integer>3</integer>
<key>useCount</key>
<integer>4</integer>
<key>uuidString</key>
<string>E9D9F5BC-3DE9-4836-907F-C7C01C1A610E</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;pge</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-01-30T21:32:08Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2015-01-21T15:37:05Z</date>
<key>modificationDate</key>
<date>2014-10-15T18:40:10Z</date>
<key>plainText</key>
<string>[pg-extras](https://github.com/heroku/heroku-pg-extras)</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>34</integer>
<key>uuidString</key>
<string>E4DAB65A-AC19-4E71-9D6D-52C4C5488B5D</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;conn</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-01-17T22:13:18Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>modificationDate</key>
<date>2014-01-17T22:13:34Z</date>
<key>plainText</key>
<string>We've been tracking an issue with AWS regarding </string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>0</integer>
<key>uuidString</key>
<string>FA1972DC-022D-476A-BD98-EA16F7571610</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;zombie</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2013-12-10T16:43:18Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2015-01-21T00:18:03Z</date>
<key>modificationDate</key>
<date>2014-01-02T16:10:38Z</date>
<key>plainText</key>
<string>It's important to understand the difference between the Heroku routing layer timeout and Unicorn's timeout. Heroku's router will time out any non-streaming request if no response is received in 30 seconds, and it will add an H12 error to the logs. When the router does this, the dyno does not get notified that the request it's processing has been terminated. If something about that dyno (or Unicorn worker) is causing it to take longer than 30 seconds, the dyno will keep processing the request long after it has been killed by the routing layer. Meanwhile, the router will continue sending requests to that dyno, further compounding the problem.
That's why the `timeout` value in your Unicorn config is so important. If you set that time to less than 30 seconds, Unicorn will be able to notice that a request is taking a log time and kill it before the router does. When Unicorn kills a request, it will close that connection to the router *and move on to the next request*. The router will report an H13 error, indicating the dyno closed the connection, but you won't be compounding the problem by letting that request run for minutes or more.
Of course, returning nothing to the user isn't a great experience—that's why we recommend the [rack-timeout gem](https://github.com/kch/rack-timeout). This gem inserts a middleware that will time out a request even before Unicorn kills it, allowing you to return a more informative error to your users. In many of my apps, I set my rack-timeout value to 10 seconds and my Unicorn timeout to 15 seconds.
</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>9</integer>
<key>uuidString</key>
<string>52553A95-76FA-4EC2-A3D7-21968BCCB077</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;que</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-01-02T20:02:30Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2014-03-25T19:10:44Z</date>
<key>modificationDate</key>
<date>2014-01-02T20:02:38Z</date>
<key>plainText</key>
<string>When New Relic shows request queueing, it might not mean what you think it means. There are two places between the outside world and your application stack where a request can spend time: in the routing layer, and in a queue on your dyno. Both of these together are "Request Queueing" according to New Relic.
When a request comes in to the Heroku router, the routing layer adds a header called `X-Request-Start` that is a UNIX timestamp of when the request was first received. The request is dispatched to one of your app dynos, where it may wait in a request queue. As soon as your app starts handling that specific request, the New Relic middleware will compare the current time to the `X-Request-Start` time and report all of that as "Request Queuing".
If you have requests coming in to your app faster than your Unicorn workers can respond to them, the router will continue to randomly distribute them, but the requests will start to queue up at the dyno level. You can configure how many requests Unicorn will allow to queue before refusing to accept any more using the `backlog` property [documented here](http://unicorn.bogomips.org/Unicorn/Configurator.html#method-i-listen).
You can tell how much request queueing time is coming from the routing layer by looking at the `connect` time in the router log lines. This is the amount of time it took the routing layer to find one of your dynos and dispatch the request:
```
heroku[router]: at=info method=POST path=/checkinv2 host=machines.brightboxcharge.com fwd="184.74.184.210" dyno=web.1 connect=1ms service=17623ms status=200 bytes=38
```
In this case, the router found your dyno and dispatched the request in 1 ms. In this example, the dyno took 17 seconds to generate a response, as indicated by the `service` time.</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>2</integer>
<key>uuidString</key>
<string>E34B09AE-D5C9-425F-8263-64C1D5F6BAD1</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;llog</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2013-12-31T15:54:25Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2015-01-15T22:30:09Z</date>
<key>modificationDate</key>
<date>2014-09-17T21:20:12Z</date>
<key>plainText</key>
<string>I'm a fan of [Logentries](https://addons.heroku.com/logentries#tryit) or [Papertrail](https://addons.heroku.com/papertrail)—both have great free plans, and it takes about 10 seconds to set up (and you don't have to make any changes to your app code).</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>35</integer>
<key>uuidString</key>
<string>5273E9E4-01ED-40A6-8127-633E6AE125E1</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;tp</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2013-12-19T15:03:51Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string>ticket number for pris</string>
<key>lastUsed</key>
<date>2015-01-21T00:18:44Z</date>
<key>modificationDate</key>
<date>2013-12-19T15:04:04Z</date>
<key>plainText</key>
<string>#%snippet:;tn%</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>5</integer>
<key>uuidString</key>
<string>FBAFDDA0-843A-433F-96D4-A31A91208F5E</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;tl</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2013-12-19T15:02:32Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string>ticket link</string>
<key>lastUsed</key>
<date>2014-12-12T21:09:10Z</date>
<key>modificationDate</key>
<date>2014-10-20T15:51:30Z</date>
<key>plainText</key>
<string>https://support.heroku.com/tickets/%snippet:;tn%</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>162</integer>
<key>uuidString</key>
<string>66DAADFB-4385-4CA3-9BE8-AE1FA2243742</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;tml</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2013-12-19T15:02:32Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string>ticket markdown link</string>
<key>lastUsed</key>
<date>2015-01-21T00:18:49Z</date>
<key>modificationDate</key>
<date>2014-12-11T14:13:14Z</date>
<key>plainText</key>
<string>[%snippet:;tn%](%snippet:;tl%)</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>26</integer>
<key>uuidString</key>
<string>279D8D2A-A2B7-4CDA-BFA2-62340D77E024</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;tn</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2013-12-19T14:55:29Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string>ticket number</string>
<key>lastUsed</key>
<date>2015-01-21T00:18:35Z</date>
<key>modificationDate</key>
<date>2014-04-24T20:23:12Z</date>
<key>plainText</key>
<string>#!/bin/bash
pbpaste | grep -o "\d\d\d\d\d\d" | head -n 1 | tr -d "\n"</string>
<key>snippetType</key>
<integer>3</integer>
<key>useCount</key>
<integer>22</integer>
<key>uuidString</key>
<string>E4A74D6B-8B16-4FF8-8DB2-C5E4D1E5E658</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;boot</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2013-12-13T17:19:49Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2014-10-08T03:24:40Z</date>
<key>modificationDate</key>
<date>2013-12-13T17:19:55Z</date>
<key>plainText</key>
<string>heroku sudo caps:add boot_timeout 120 -a </string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>31</integer>
<key>uuidString</key>
<string>6781D8C5-FEC0-4F28-8A71-C2013F3FBF75</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;recentzd</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2013-12-11T20:02:09Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2013-12-11T20:05:27Z</date>
<key>modificationDate</key>
<date>2013-12-11T20:06:12Z</date>
<key>plainText</key>
<string>https://dataclips.heroku.com/pawplvlpqsrlnoonhvhldbqmobga</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>3</integer>
<key>uuidString</key>
<string>73C1E6CA-D6A2-4772-9823-B3F2D731E857</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;newrelic</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2013-12-10T17:02:40Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2014-03-31T17:13:46Z</date>
<key>modificationDate</key>
<date>2013-12-10T17:03:44Z</date>
<key>plainText</key>
<string>[New Relic](https://addons.heroku.com/newrelic#wayne)</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>5</integer>
<key>uuidString</key>
<string>3E30DDA8-C435-4853-B947-EB618770E815</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;logent</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2013-12-10T17:02:33Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2014-10-03T14:17:56Z</date>
<key>modificationDate</key>
<date>2013-12-10T17:02:36Z</date>
<key>plainText</key>
<string>[Logentries](https://addons.heroku.com/logentries#tryit)</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>13</integer>
<key>uuidString</key>
<string>CE016F11-FC59-47E3-AD50-167F8B7A4144</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;swap</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-06-03T15:38:47Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2014-11-07T23:11:37Z</date>
<key>modificationDate</key>
<date>2014-06-03T15:38:53Z</date>
<key>plainText</key>
<string>We're continuing to how we monitor and report memory usage and especially swap. It's a complicated problem for multi-tenant architectures. What you're seeing here is likely a result of swapping at the OS level. Our runtimes are based on Ubuntu, so the Linux kernel is making a lot of decisions about what to swap and when based on activity across multiple apps. For that reason you will sometimes see swapping even when you haven't used all your available RAM. As long as your total swap usage is staying well below your total active memory, you shouldn't be experiencing noticeable performance problems. Continually increasing swap usage is much more indicative of an issue, but that's not present here.
If you see spikes in other metrics (specifically, overall response time) that correlate with spikes in swap, definitely let us know. Otherwise, you will likely see some swapping happening on 1X and 2X dynos, but low levels shouldn't be cause for concern.</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>1</integer>
<key>uuidString</key>
<string>6305953F-1A01-42CD-9CD5-5CCABD5463E8</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;spr</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-06-11T15:04:23Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string>splunk runtime</string>
<key>lastUsed</key>
<date>2015-01-21T00:21:43Z</date>
<key>modificationDate</key>
<date>2014-07-30T18:49:51Z</date>
<key>plainText</key>
<string>index=main (instance_type=runtime OR instance_type=runtime-dedicated) (cloud=heroku.com OR cloud=heroku-eu-west-1-a.com) app_id=%clipboard </string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>46</integer>
<key>uuidString</key>
<string>2B08B081-59B0-476A-AE64-EA5D97A8CF4A</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;sph</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-06-11T15:05:13Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string>splunk hermes</string>
<key>lastUsed</key>
<date>2015-01-21T00:21:34Z</date>
<key>modificationDate</key>
<date>2014-07-02T16:13:02Z</date>
<key>plainText</key>
<string>index=hermes (mod=hermes_proxy OR mod=hermes_interface) (cloud=heroku.com OR cloud=heroku-eu-west-1-a.com) app_id=%clipboard</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>58</integer>
<key>uuidString</key>
<string>C8207A4C-EE3E-48F1-8EB9-7925D0621139</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;sslcert</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-06-16T14:33:45Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>modificationDate</key>
<date>2014-06-16T14:34:39Z</date>
<key>plainText</key>
<string>
There's a workaround here that can help, and it's based on understanding how SSL endpoints work: **You only need to create one SSL endpoint for each certificate you need to serve.** If you can handle multiple domains or apps with a single certificate, you only need one endpoint. Here's how it works.
Say you have `www.foo.com` pointing to heroku app `foo`, `www.bar.com` pointing to heroku app `bar`, and `www.baz.com` for heroku app `baz`, and you want to secure them all, but do it cheaply.
Buy a multi-domain certificate (sometimes called a SAN certificate) for `www.foo.com, www.bar.com, www.baz.com`. It's important that all the domains are on a single certificate.
Add an SSL endpoint to any of the apps. For the sake of discussion, we'll use `foo` as our SSL app:
```
$ heroku addons:add ssl:endpoint -a foo
[some things happen]
$ heroku certs:add cert.crt server.key -a foo
[some other things happen, and eventually you get your SSL endpoint hostname:]
random-hostname-1234.herokussl.com
```
Now, you'll point CNAMEs for `www.foo.com`, `www.bar.com`, and `www.baz.com` to `random-hostname-1234.herokussl.com`. That's the unintuitive part.
But now, you add the domain names to the correct apps:
```
$ heroku domains:add www.foo.com -a foo
$ heroku domains:add www.bar.com -a bar
$ heroku domains:add www.baz.com -a baz
```
This works because the job of the SSL endpoint is only to serve the certificate and decrypt the traffic, and then throw the traffic into the normal routing logic. The CNAME gets the requests to the proper SSL hostname to see that multi-site certificate, but the `domains:add` ensures that the traffic gets to the right app once it's inside Heroku's walls.
</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>0</integer>
<key>uuidString</key>
<string>4B0A96D3-A51A-485B-8804-D95D5B9C2790</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;spdt</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-07-30T18:44:04Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>modificationDate</key>
<date>2014-07-30T18:44:51Z</date>
<key>plainText</key>
<string>%filltext:name=field 1%</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>0</integer>
<key>uuidString</key>
<string>D0D87A63-A81F-4D67-94AC-B4B0E2855C55</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;euion</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-08-13T19:58:53Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2014-10-16T18:32:05Z</date>
<key>modificationDate</key>
<date>2014-08-13T19:59:03Z</date>
<key>plainText</key>
<string>ion-eu-west-1-a.herokai.com</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>12</integer>
<key>uuidString</key>
<string>33BD1806-1E71-4716-824F-FAF6B5726BB4</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;slug</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-08-14T16:09:25Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2014-08-14T16:09:34Z</date>
<key>modificationDate</key>
<date>2014-08-14T16:09:28Z</date>
<key>plainText</key>
<string>heroku sudo caps:add slug_size</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>1</integer>
<key>uuidString</key>
<string>F091276E-9E4C-4715-A7BA-214807AE6240</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;binrun</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-08-29T14:05:32Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2014-10-30T21:38:46Z</date>
<key>modificationDate</key>
<date>2014-08-29T14:05:51Z</date>
<key>plainText</key>
<string>bin/run -u chad -n 75 -i runtime -c "nc -4 -w1 </string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>17</integer>
<key>uuidString</key>
<string>1EDC4F0C-615C-4BCC-BB2E-5A2F3B9134E7</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;follower</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-10-10T21:54:01Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2015-01-15T22:51:51Z</date>
<key>modificationDate</key>
<date>2014-10-10T21:54:09Z</date>
<key>plainText</key>
<string>[follower changeover](https://devcenter.heroku.com/articles/upgrading-heroku-postgres-databases#upgrade-with-follower-changeovers)</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>38</integer>
<key>uuidString</key>
<string>459E0147-E8C0-47FB-80C5-9B58B65ABABC</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;dbu</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-10-28T15:04:32Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2015-01-21T21:04:52Z</date>
<key>modificationDate</key>
<date>2014-10-28T15:04:37Z</date>
<key>plainText</key>
<string>`DATABASE_URL`</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>43</integer>
<key>uuidString</key>
<string>CD1B50E3-5A9D-420C-B875-97A6899D2AC1</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;hobby</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-10-30T22:10:29Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2015-01-12T21:07:59Z</date>
<key>modificationDate</key>
<date>2014-10-30T22:10:34Z</date>
<key>plainText</key>
<string>babytown frolics</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>5</integer>
<key>uuidString</key>
<string>DD6C5728-AB79-40B7-B065-EB1B4E4A2E09</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;outage</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-11-03T18:05:08Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2014-11-04T19:17:36Z</date>
<key>modificationDate</key>
<date>2014-11-03T18:12:37Z</date>
<key>plainText</key>
<string>It looks like there was an issue with your database around that time. Our automated systems opened a ticket (#%filltext:name=Ticket Number:width=8%) that was sent to the account owner, %filltext:name=Owner Email%.</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>3</integer>
<key>uuidString</key>
<string>839D58F8-6C19-4453-A0BC-AEAAD82BCC5B</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;pgbt</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-11-05T15:49:02Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2015-01-21T21:15:03Z</date>
<key>modificationDate</key>
<date>2014-11-05T15:49:20Z</date>
<key>plainText</key>
<string>[`pgbackups:transfer`](https://devcenter.heroku.com/articles/upgrading-heroku-postgres-databases#upgrade-with-pgbackups-transfer-default)</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>31</integer>
<key>uuidString</key>
<string>594EC61D-40C9-4E82-8221-DF78DC34C724</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;tu</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2014-11-05T22:40:31Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2014-11-07T20:31:37Z</date>
<key>modificationDate</key>
<date>2014-11-05T22:40:39Z</date>
<key>plainText</key>
<string>(thumbsup)</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>1</integer>
<key>uuidString</key>
<string>CD815C75-FBBE-4920-BFEA-B6567DF39693</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;htl</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2013-12-19T15:02:32Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string>help ticket link</string>
<key>lastUsed</key>
<date>2014-11-11T16:52:26Z</date>
<key>modificationDate</key>
<date>2014-11-11T16:51:24Z</date>
<key>plainText</key>
<string>https://help.heroku.com/tickets/%snippet:;tn%</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>153</integer>
<key>uuidString</key>
<string>A9A37EFB-4D5A-4569-9841-144DF49F853B</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;lmk</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2013-12-04T16:21:51Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string>let me know...</string>
<key>lastUsed</key>
<date>2015-01-26T18:07:17Z</date>
<key>modificationDate</key>
<date>2013-12-04T16:22:00Z</date>
<key>plainText</key>
<string>Let me know if you have any further questions. Thanks!
-Chad
</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>531</integer>
<key>uuidString</key>
<string>3A89B38F-45CE-4689-A0F7-57802497E4B4</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;mcli</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2013-12-12T18:00:49Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2014-10-08T04:28:06Z</date>
<key>modificationDate</key>
<date>2013-12-12T18:01:18Z</date>
<key>plainText</key>
<string>![image](%clipboard/content)</string>
<key>snippetType</key>
<integer>0</integer>
<key>useCount</key>
<integer>21</integer>
<key>uuidString</key>
<string>D3A19C3E-6A63-46DB-82D3-715EBB85FC96</string>
</dict>
<dict>
<key>abbreviation</key>
<string>;mdi</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2013-12-12T18:00:49Z</date>
<key>flags</key>
<integer>0</integer>
<key>label</key>
<string></string>
<key>lastUsed</key>
<date>2014-08-12T18:20:53Z</date>
<key>modificationDate</key>
<date>2014-08-07T19:02:58Z</date>